Skip to content
Permalink
Browse files

Email should be options in lnms user:add command (#9841)

  • Loading branch information...
murrant committed Feb 21, 2019
1 parent e2f835a commit fffd468c2d54137de0ca0110b80687538049fef3
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/Console/Commands/AddUserCommand.php
@@ -74,7 +74,7 @@ public function handle()
$this->validate([
'username' => ['required', Rule::unique('users', 'username')->where('auth_type', 'mysql')],
'email' => 'email',
'email' => 'nullable|email',
'role' => Rule::in(array_keys($roles))
]);

0 comments on commit fffd468

Please sign in to comment.
You can’t perform that action at this time.