fix broken register/login process

This commit is contained in:
ansuz committed 2017-11-24 15:12:00 +01:00
1 parent a3c093838c
commit 701af29192
3 files changed
+12 -3

No files matched your search

+5
View File
@@ -52,6 +52,11 @@ define([
return hash;
};
var setUserHash = LocalStore.setUserHash = function (hash) {
var sHash = Hash.serializeHash(hash);
localStorage[Constants.userHashKey] = sHash;
};
LocalStore.getAccountName = function () {
return localStorage[Constants.userNameKey];
};