Skip to content
Snippets Groups Projects
  • Lukas Reschke's avatar
    0fa8b449
    Use `/` as redirect location if webroot is set to an empty value · 0fa8b449
    Lukas Reschke authored
    If the webroot has been set to an empty value or ownCloud has been installed at the root location (`/``) there is a fair chance that the redirect for password resets does not work at all.
    
    This means that while the password is getting resetted the user is not redirected to the login page.
    
    I'm aware that it might be better to just set the webroot to `/` in those cases but this patch is better in the regard that it cannot break stuff.
    
    Thanks to @PVince81 for helping me debugging this. (I'm a moron and assumed it couldn't be THAT easy)
    
    Reported by @cdamken
    0fa8b449
    History
    Use `/` as redirect location if webroot is set to an empty value
    Lukas Reschke authored
    If the webroot has been set to an empty value or ownCloud has been installed at the root location (`/``) there is a fair chance that the redirect for password resets does not work at all.
    
    This means that while the password is getting resetted the user is not redirected to the login page.
    
    I'm aware that it might be better to just set the webroot to `/` in those cases but this patch is better in the regard that it cannot break stuff.
    
    Thanks to @PVince81 for helping me debugging this. (I'm a moron and assumed it couldn't be THAT easy)
    
    Reported by @cdamken