mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Email should be options in lnms user:add command (#9841)
This commit is contained in:
@@ -74,7 +74,7 @@ class AddUserCommand extends LnmsCommand
|
||||
|
||||
$this->validate([
|
||||
'username' => ['required', Rule::unique('users', 'username')->where('auth_type', 'mysql')],
|
||||
'email' => 'email',
|
||||
'email' => 'nullable|email',
|
||||
'role' => Rule::in(array_keys($roles))
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user