Merge pull request #12359 from owncloud/fix-redirect-url-for-password-change

Use `/` as redirect location if webroot is set to an empty value
remotes/origin/fix-10825
Thomas Müller 12 years ago
commit e956bd1094
  1. 6
      core/js/lostpassword.js

@ -112,7 +112,11 @@ OC.Lostpassword = {
},
redirect : function(msg){
window.location = OC.webroot;
if(OC.webroot !== '') {
window.location = OC.webroot;
} else {
window.location = '/';
}
},
resetError : function(msg){

Loading…
Cancel
Save