mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 17:56:30 -05:00
Fix bug that when window close will make ajax fail and cause cookies set to wrong state
This commit is contained in:
parent
23008bc1e1
commit
c2f0943b49
1 changed files with 0 additions and 1 deletions
|
@ -83,7 +83,6 @@ function checkIfAuth(yesCallback, noCallback) {
|
|||
})
|
||||
.fail(function () {
|
||||
noCallback();
|
||||
setLoginState(false);
|
||||
})
|
||||
.always(function () {
|
||||
checkAuth = true;
|
||||
|
|
Loading…
Reference in a new issue