From c16697286b31b1ce3fa6485e8d86a6964b03e466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20J=C3=A4ggi?= Date: Wed, 18 Dec 2024 16:29:57 +0100 Subject: [PATCH] Fix rubocop --- app/models/wizards/signup/abo_basic_login_wizard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/wizards/signup/abo_basic_login_wizard.rb b/app/models/wizards/signup/abo_basic_login_wizard.rb index 902c29f56..c23b2d042 100644 --- a/app/models/wizards/signup/abo_basic_login_wizard.rb +++ b/app/models/wizards/signup/abo_basic_login_wizard.rb @@ -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!