We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75afa6 commit d6453ebCopy full SHA for d6453eb
app/services/user_service/enroll_sms_auth.rb
@@ -54,7 +54,7 @@ class SMSEnrollmentError < StandardError
54
end
55
56
def disallow_fresh_users
57
- return if user.created_at < 1.day.ago
+ return if @user.created_at < 1.day.ago
58
59
raise SMSEnrollmentError("Please wait at least 24 hours after creating your account before enrolling in SMS authentication.")
60
0 commit comments