Skip to content

Commit

Permalink
fix validatable if user wants to use passwords too
Browse files Browse the repository at this point in the history
  • Loading branch information
SethHorsley committed Aug 13, 2023
1 parent de7aa8e commit bd15ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise/models/magic_link_authenticatable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module MagicLinkAuthenticatable
extend ActiveSupport::Concern

def password_required?
false
true
end

# Not having a password method breaks the :validatable module
Expand Down

0 comments on commit bd15ecf

Please sign in to comment.