strip url params for oauth

This commit is contained in:
antelle 2018-03-08 19:37:52 +01:00
parent 75e778862c
commit 7c0a3b11e0
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ _.extend(StorageBase.prototype, {
if (redirectUrl.lastIndexOf('file:', 0) === 0) {
redirectUrl = Links.WebApp;
}
redirectUrl = redirectUrl.split('?')[0];
return redirectUrl;
},