Remove whitespace around email when logging in
This commit is contained in:
@@ -89,7 +89,7 @@ export class Login extends React.Component {
|
||||
|
||||
if (obj) {
|
||||
api
|
||||
.login(obj.email, obj.password, obj.rememberMe)
|
||||
.login(obj.email.trim(), obj.password, obj.rememberMe)
|
||||
.then((user) => {
|
||||
history.replace("/home")
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user