From a78ad3f20cc7746b41c53b2447e51005d16e7ac4 Mon Sep 17 00:00:00 2001 From: soma Date: Wed, 4 Dec 2024 23:04:03 +0900 Subject: [PATCH] Fix typo in comments --- lib/devise/models/lockable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devise/models/lockable.rb b/lib/devise/models/lockable.rb index 65bb400d0e..6ab0ce747e 100644 --- a/lib/devise/models/lockable.rb +++ b/lib/devise/models/lockable.rb @@ -84,7 +84,7 @@ def resend_unlock_instructions if_access_locked { send_unlock_instructions } end - # Overwrites active_for_authentication? from Devise::Models::Activatable for locking purposes + # Overwrites active_for_authentication? from Devise::Models::Authenticatable for locking purposes # by verifying whether a user is active to sign in or not based on locked? def active_for_authentication? super && !access_locked?