wip
This commit is contained in:
1 parent
fc697f6318
commit
bd992d87fb
7 files changed
+72
-6
No files matched your search
@@ -21,6 +21,13 @@ public function rules(): array
|
||||
* @example 65707012
|
||||
*/
|
||||
'phone' => ['required', 'integer', 'between:61000000,71999999'],
|
||||
|
||||
/**
|
||||
* User's password
|
||||
*
|
||||
* @example MahmytAllaberdiyevPassword
|
||||
*/
|
||||
'password' => ['required', 'string', 'max:255'],
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,6 @@ public function rules(): array
|
||||
/**
|
||||
* Phone number to authenticate
|
||||
*
|
||||
* @var int
|
||||
* @example 65707012
|
||||
*/
|
||||
'phone' => ['required', 'integer', 'between:61000000,71999999', 'unique:users,phone'],
|
||||
@@ -25,10 +24,16 @@ public function rules(): array
|
||||
/**
|
||||
* User's name
|
||||
*
|
||||
* @var string
|
||||
* @example Mahmyt Allaberdiyev
|
||||
*/
|
||||
'name' => ['required', 'string', 'max:255'],
|
||||
|
||||
/**
|
||||
* User's password
|
||||
*
|
||||
* @example MahmytAllaberdiyevPassword
|
||||
*/
|
||||
'password' => ['required', 'string', 'max:255'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user