mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 21:28:27 +08:00
format
This commit is contained in:
@ -18,12 +18,12 @@ class LoginIndex extends FormRequest
|
||||
'password' => 'required|min:8'
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'email.required' => '邮箱不能为空',
|
||||
'email.email' => '邮箱格式不正确',
|
||||
'email.email' => '邮箱格式不正确',
|
||||
'password.required' => '密码不能为空',
|
||||
'password.min' => '密码必须大于8位数'
|
||||
];
|
||||
|
Reference in New Issue
Block a user