solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 124 forks source link

Allow Spree::Admin::UserPasswordsController to be accessed from admin… #136

Closed acreilly closed 5 years ago

acreilly commented 5 years ago

… 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"

97 Closed due to mess.