Closed acreilly closed 5 years ago
This PR depends on #96 . Once that is merged, I rebase and utilize that PRs routes and add a comment next to the skip_before_action : require_no_authentication explaining how it is needed since the admin is logged in while hitting the create endpoint.
@acreilly now that #96 got merged would you mind to rebase with current master
?
Hey @acreilly, thanks a lot for this PR! Would you mind rebasing it against master
?
Closing and opened https://github.com/solidusio/solidus_auth_devise/pull/136
… panel.
Since the Spree::Admin::UserPasswordsController was not being used anywhere within solidus the routes were not working. In order to get it working I needed to add a custom route in routes.rb because the default one was being overridden by the frontend route. Since we are calling this endpoint from the admin, we need to skip the action require_no_authentication because we are already authorizing the admin elsewhere. Without it we receive the error "Filter chain halted as :require_no_authentication rendered or redirected"