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