mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
add archived at to accounts
This commit is contained in:
1 parent
1b2dec4c2a
commit
bb613059de
6 files changed
+36
-20
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user