filestore for sessions

This commit is contained in:
azivner
2017-10-15 17:07:34 -04:00
parent f2d2dad3d8
commit 597a9063e5
3 changed files with 8 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ function randomString(length, chars) {
}
function nowTimestamp() {
return Date.now() / 1000;
return Math.floor(Date.now() / 1000);
}
function toBase64(plainText) {