mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix testing acocunt
This commit is contained in:
1 parent
c5598d9efe
commit
168fc8bd03
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ module Accounts
|
||||
end
|
||||
|
||||
def find_or_create_testing_user(account)
|
||||
user = User.find_by(account: account.testing_accounts)
|
||||
user = User.where(role: :admin).order(:id).find_by(account: account.testing_accounts)
|
||||
|
||||
return user if user
|
||||
|
||||
|
||||
Reference in new issue
Block a user