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

Allow turning on/off different devise features #588

Merged
merged 5 commits into from
Jun 12, 2024
Merged

Allow turning on/off different devise features #588

merged 5 commits into from
Jun 12, 2024

Conversation

henrikbjorn
Copy link
Contributor

Our need is to create a shop where you can only login through our oauth2 omniauth endpoints and not allow logging in with a password or to create the user.

@@ -46,12 +46,13 @@
if Spree.respond_to?(:admin_path) && Spree::Core::Engine.backend_available?
namespace :admin, path: Spree.admin_path do
devise_for :spree_user,
class_name: Spree.user_class.to_s,
class_name: Spree.admin_user_class.to_s,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@damianlegawiec This seems like a missed update to the code

@damianlegawiec damianlegawiec merged commit f3066b7 into spree:main Jun 12, 2024
1 check was pending
@henrikbjorn henrikbjorn deleted the turn-on-off-devise-features branch June 13, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants