Allow logge din users to access the home page

This commit is contained in:
yflory
2017-02-02 18:09:27 +01:00
parent bed49d0b26
commit b0fb56fa63
9 changed files with 116 additions and 43 deletions

View File

@@ -131,7 +131,7 @@ define([
APP.setAccountName(getAccountName(proxy));
APP.setDisplayName(getDisplayName(proxy));
Cryptpad.login(opt.userHash, opt.remember);
Cryptpad.login(opt.userHash, getAccountName(proxy), opt.remember);
APP.revealLogin(false);
APP.revealUser(true);
APP.revealLogout(true);