mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
do not email archived user
This commit is contained in:
1 parent
1416cf72e8
commit
660b24710e
3 files changed
+7
-2
No files matched your search
@@ -3,6 +3,10 @@
|
||||
module Users
|
||||
module_function
|
||||
|
||||
def send_emails?(user)
|
||||
!user.archived_at?
|
||||
end
|
||||
|
||||
def generate_csv(users)
|
||||
headers = %w[email first_name last_name role current_sign_in_at last_sign_in_at updated_at created_at]
|
||||
|
||||
|
||||
Reference in new issue
Block a user