| commit | a28aea4863a054e6f5c9293580c167ee05484986 | [log] [tgz] |
|---|---|---|
| author | j <[email protected]> | Wed Jan 15 21:12:09 2020 -0800 |
| committer | GitHub <[email protected]> | Wed Jan 15 21:12:09 2020 -0800 |
| tree | 40333f222eb60c7399975186466d92a878a4be52 | |
| parent | 57d9a456df679d68eb84a3e0c4fd65639b9c2cf8 [diff] |
bugfix
diff --git a/init.js b/init.js index e3144fc..15d6309 100644 --- a/init.js +++ b/init.js
@@ -743,7 +743,7 @@ }) if (typeof dtpsPrevUser == "undefined") { - if (JSON.parse(user).errors) window.location.href = "/?dtpsLogin=true"; //go to login screen + if (JSON.parse(user).error || JSON.parse(user).errors) window.location.href = "/?dtpsLogin=true"; //go to login screen dtps.user = JSON.parse(user); dtps.user.obs = JSON.parse(userObs); if (dtps.user.obs[0]) {