mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: fix issue #650
This commit is contained in:
parent
5e582292a8
commit
f062e57a81
@ -26,7 +26,7 @@ class AuthController extends Controller
|
|||||||
abort(404);
|
abort(404);
|
||||||
}
|
}
|
||||||
$params = $request->validate([
|
$params = $request->validate([
|
||||||
'email' => 'required|email',
|
'email' => 'required|email:strict',
|
||||||
'redirect' => 'nullable'
|
'redirect' => 'nullable'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ class UserUpdate extends FormRequest
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'email' => 'required|email',
|
'email' => 'required|email:strict',
|
||||||
'password' => 'nullable|min:8',
|
'password' => 'nullable|min:8',
|
||||||
'transfer_enable' => 'numeric',
|
'transfer_enable' => 'numeric',
|
||||||
'expired_at' => 'nullable|integer',
|
'expired_at' => 'nullable|integer',
|
||||||
|
@ -14,7 +14,7 @@ class AuthForget extends FormRequest
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'email' => 'required|email',
|
'email' => 'required|email:strict',
|
||||||
'password' => 'required|min:8',
|
'password' => 'required|min:8',
|
||||||
'email_code' => 'required'
|
'email_code' => 'required'
|
||||||
];
|
];
|
||||||
|
@ -14,7 +14,7 @@ class AuthLogin extends FormRequest
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'email' => 'required|email',
|
'email' => 'required|email:strict',
|
||||||
'password' => 'required|min:8'
|
'password' => 'required|min:8'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ class AuthRegister extends FormRequest
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'email' => 'required|email',
|
'email' => 'required|email:strict',
|
||||||
'password' => 'required|min:8'
|
'password' => 'required|min:8'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ class CommSendEmailVerify extends FormRequest
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'email' => 'required|email'
|
'email' => 'required|email:strict'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ class UserUpdate extends FormRequest
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'email' => 'required|email',
|
'email' => 'required|email:strict',
|
||||||
'password' => 'nullable',
|
'password' => 'nullable',
|
||||||
'transfer_enable' => 'numeric',
|
'transfer_enable' => 'numeric',
|
||||||
'expired_at' => 'nullable|integer',
|
'expired_at' => 'nullable|integer',
|
||||||
|
Loading…
Reference in New Issue
Block a user