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

This commit is contained in:
Tony Murray
2019-02-21 11:05:49 -06:00
committed by GitHub
parent e2f835ad9d
commit fffd468c2d

View File

@@ -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))
]);