Page MenuHomePhorge

D4785.1775353072.diff
No OneTemporary

Authored By
Unknown
Size
597 B
Referenced Files
None
Subscribers
None

D4785.1775353072.diff

diff --git a/src/app/Console/Commands/User/CreateCommand.php b/src/app/Console/Commands/User/CreateCommand.php
--- a/src/app/Console/Commands/User/CreateCommand.php
+++ b/src/app/Console/Commands/User/CreateCommand.php
@@ -80,6 +80,10 @@
$user->email = $email;
$user->password = $password;
$user->role = $role;
+ $tenantId = \config('app.tenant_id');
+ if ($tenantId) {
+ $user->tenant_id = $tenantId;
+ }
} catch (\Exception $e) {
$this->error($e->getMessage());
return 1;

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 5, 1:37 AM (20 h, 3 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18821262
Default Alt Text
D4785.1775353072.diff (597 B)

Event Timeline