add a return
This commit is contained in:
1 parent
b79adf4177
commit
96b12d55fb
1 file changed
+1
@@ -27,6 +27,7 @@ define([
|
||||
if (Cryptpad.isLoggedIn()) {
|
||||
if (window.location.pathname === '/') {
|
||||
window.location = '/drive/';
|
||||
return;
|
||||
}
|
||||
|
||||
var name = localStorage[Cryptpad.userNameKey] || sessionStorage[Cryptpad.userNameKey];
|
||||
|
||||
Reference in new issue
Block a user