complete modern user registration/login. general cleanup
This commit is contained in:
1 parent
3d4b693722
commit
a15e232469
2 files changed
+54
-107
No files matched your search
@@ -1068,7 +1068,10 @@ define([
|
||||
// put your userhash into localStorage
|
||||
try {
|
||||
var block_info = Block.decrypt(arraybuffer, parsed.keys);
|
||||
//if (block_info[Constants.userHashKey]) { LocalStore.setUserHash(block_info[Constants.userHashKey]); }
|
||||
if (!block_info) {
|
||||
console.error("Failed to decrypt !");
|
||||
return;
|
||||
}
|
||||
userHash = block_info[Constants.userHashKey];
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
||||
Reference in new issue
Block a user