app/controllers/openstax/accounts/sessions_controller.rb in openstax_accounts-5.0.0 vs app/controllers/openstax/accounts/sessions_controller.rb in openstax_accounts-5.0.1

- old
+ new

@@ -42,8 +42,15 @@ def failure redirect_back key: :accounts_return_to, alert: "Authentication failed, please try again." end + def profile + # TODO: stub profile if stubbing is enabled + redirect_to(URI.join( + OpenStax::Accounts.configuration.openstax_accounts_url, "/profile" + ).to_s) + end + end end end