Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue-60: postResetUrl not working #78

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Issue-60: postResetUrl not working #78

merged 1 commit into from
Oct 3, 2017

Commits on Oct 2, 2017

  1. Issue-60: postResetUrl not working

    Documentation suggests to use grails.plugin.springsecurity.ui.forgotPassword.postResetUrl in order to set the URL after a password reset. For example:
    
    ----
    grails.plugin.springsecurity.ui.forgotPassword.postResetUrl = '/reset'
    ----
    In RegisterController the registerPostResetUrl variable looks for conf.ui.register.postResetUrl which should be conf.ui.forgotPassword.postResetUrl.
    
    https://github.com/grails-plugins/grails-spring-security-ui/blob/master/grails-app/controllers/grails/plugin/springsecurity/ui/RegisterController.groovy#L212
    
    Updated `RegisterController.registerPostResetUrl` to be:
    ```
    registerPostResetUrl = conf.ui.forgotPassword.postResetUrl ?: ''
    ```
    ddelponte committed Oct 2, 2017
    Configuration menu
    Copy the full SHA
    50f7bf7 View commit details
    Browse the repository at this point in the history