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