Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
njaeggi committed Dec 18, 2024
1 parent 57b3c93 commit c166972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/wizards/signup/abo_basic_login_wizard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AboBasicLoginWizard < Wizards::RegisterNewUserWizard
self.asides = ["aside_abo_basic_login"]

def member_or_applied?
current_user.login? #do not allow if person already has a login
current_user&.login? # do not allow if person already has a login
end

def save!
Expand Down

0 comments on commit c166972

Please sign in to comment.