mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-08 11:57:52 +08:00
修复新用户注册后 IP 为空的 bug.
This commit is contained in:
parent
c0513f85a1
commit
8b5bf74aa2
@ -45,6 +45,7 @@ class RegisteredUserController extends Controller
|
||||
'name' => $request->name,
|
||||
'email' => $request->email,
|
||||
'password' => Hash::make($request->password),
|
||||
'registered_ip' => $request->ip(),
|
||||
]);
|
||||
|
||||
if (Utils::config(ConfigKey::IsUserNeedVerify)) {
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user