add archived at to accounts

This commit is contained in:
Pete Matsyburka committed 2024-04-28 13:43:53 +03:00
1 parent 1b2dec4c2a
commit bb613059de
6 files changed
+36 -20

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ class User < ApplicationRecord
end
def active_for_authentication?
super && !archived_at?
super && !archived_at? && !account.archived_at?
end
def remember_me