diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-09-26 22:40:59 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-09-26 23:07:57 +0300 |
commit | 547bc665b15e68dd56b22961863699ae72b656e0 (patch) | |
tree | 94981694663fb5e883572b3b3cfc902b3bff2a05 /js | |
parent | 57af6687daf80fa0349967f5c5e0e6f4dbfd4fb7 (diff) |
Handle redirect in PHP and not in JS
Since Nextcloud 10 we have a proper login endpoint that we can match on
Diffstat (limited to 'js')
-rw-r--r-- | js/preauth.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/preauth.js b/js/preauth.js deleted file mode 100644 index 21f4bc28..00000000 --- a/js/preauth.js +++ /dev/null @@ -1,4 +0,0 @@ -if(typeof OC.Login !== "undefined") { - // Redirect to login page - window.location = OC.generateUrl('/apps/user_saml/saml/login')+'?requesttoken='+encodeURIComponent(OC.requestToken); -} |