Skip to content

Commit 06e6d4d

Browse files
author
Alistair Davidson
committed
fix update syntax
1 parent 1223c2e commit 06e6d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/devise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412
end
413413

414414
Warden::Manager.before_logout do |user, _auth, _opts|
415-
user&.update!(:pwd_auth_session_token, nil)
415+
user&.update_attribute(:pwd_auth_session_token, nil)
416416
end
417417
end
418418
end

0 commit comments

Comments
 (0)