修复新用户注册后 IP 为空的 bug.

This commit is contained in:
Wisp X 2022-06-02 08:10:24 +08:00
parent c0513f85a1
commit 8b5bf74aa2
2 changed files with 2 additions and 1 deletions

View File

@ -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