Remove whitespace around email when logging in

This commit is contained in:
John Lyon-Smith committed 2018-04-18 17:32:03 -07:00
1 parent f5044284ff
commit 5b27a879de
8 files changed
+118 -60

No files matched your search

+1 -1
View File
@@ -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")
})
+2 -2
View File
@@ -1,5 +1,5 @@
export const localIPAddr = "192.168.1.175"
export const defaultUser = "john@lyon-smith.org"
//export const defaultUser = ""
//export const defaultUser = "john@lyon-smith.org"
export const defaultUser = ""
// export const minGPSAccuracy = 20
export const minGPSAccuracy = 100