mirror of
https://github.com/v2board/v2board.git
synced 2025-01-30 18:19:12 +08:00
update
This commit is contained in:
parent
6fe38f35c4
commit
e4ec8c4b92
@ -34,7 +34,7 @@ class UserController extends Controller
|
||||
} else {
|
||||
$user = new User();
|
||||
}
|
||||
if (User::where('email', $request->input('email')->first())) {
|
||||
if (User::where('email', $request->input('email'))->first()) {
|
||||
abort(500, '邮箱已被使用');
|
||||
}
|
||||
if ($request->input('id') && !$request->input('password')) {
|
||||
|
Loading…
Reference in New Issue
Block a user