summaryrefslogtreecommitdiff
path: root/src/routers/vault/types
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-03-08 15:01:20 -0400
committergumi <git@gumi.ca>2020-03-08 15:01:20 -0400
commit00e707bffa2157df7772e417a5d48e66229e4013 (patch)
tree0e8675a5acdaef6e818a47c15abd733925842460 /src/routers/vault/types
parentf7eeeccb0811887449149b46cf0592c30b9919a2 (diff)
downloadapi-00e707bffa2157df7772e417a5d48e66229e4013.tar.gz
api-00e707bffa2157df7772e417a5d48e66229e4013.tar.bz2
api-00e707bffa2157df7772e417a5d48e66229e4013.tar.xz
api-00e707bffa2157df7772e417a5d48e66229e4013.zip
immediately swap the uuid after login and check the email
Diffstat (limited to 'src/routers/vault/types')
-rw-r--r--src/routers/vault/types/Session.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routers/vault/types/Session.js b/src/routers/vault/types/Session.js
index ff7e20d..9f0cd95 100644
--- a/src/routers/vault/types/Session.js
+++ b/src/routers/vault/types/Session.js
@@ -29,7 +29,7 @@ module.exports = class Session {
constructor (ip, email) {
this.ip = ip;
- this.email = email;
+ this.email = email.toLowerCase();
}
/**