mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Comment with possible alternatve to the custom undeleted validator
This commit is contained in:
parent
51286d2244
commit
2c0b9f959b
|
@ -70,6 +70,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// 'username' => 'required|string|min:1|unique:users,username,NULL,id,deleted_at,NULL',
|
||||||
protected $rules = [
|
protected $rules = [
|
||||||
'first_name' => 'required|string|min:1',
|
'first_name' => 'required|string|min:1',
|
||||||
'username' => 'required|string|min:1|unique_undeleted',
|
'username' => 'required|string|min:1|unique_undeleted',
|
||||||
|
|
Loading…
Reference in a new issue