mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 08:09: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);
|
||||
}
|
||||
$params = $request->validate([
|
||||
'email' => 'required|email',
|
||||
'email' => 'required|email:strict',
|
||||
'redirect' => 'nullable'
|
||||
]);
|
||||
|
||||
|
@ -14,7 +14,7 @@ class UserUpdate extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email',
|
||||
'email' => 'required|email:strict',
|
||||
'password' => 'nullable|min:8',
|
||||
'transfer_enable' => 'numeric',
|
||||
'expired_at' => 'nullable|integer',
|
||||
|
@ -14,7 +14,7 @@ class AuthForget extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email',
|
||||
'email' => 'required|email:strict',
|
||||
'password' => 'required|min:8',
|
||||
'email_code' => 'required'
|
||||
];
|
||||
|
@ -14,7 +14,7 @@ class AuthLogin extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email',
|
||||
'email' => 'required|email:strict',
|
||||
'password' => 'required|min:8'
|
||||
];
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ class AuthRegister extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email',
|
||||
'email' => 'required|email:strict',
|
||||
'password' => 'required|min:8'
|
||||
];
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ class CommSendEmailVerify extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email'
|
||||
'email' => 'required|email:strict'
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ class UserUpdate extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email' => 'required|email',
|
||||
'email' => 'required|email:strict',
|
||||
'password' => 'nullable',
|
||||
'transfer_enable' => 'numeric',
|
||||
'expired_at' => 'nullable|integer',
|
||||
|
Loading…
Reference in New Issue
Block a user