mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Log registering IP
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
This commit is contained in:
parent
fc9df5624b
commit
343315a858
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ final class AuthPresenter extends OpenVKPresenter
|
|||
$user->setSex((int) ($this->postParam("sex") === "female"));
|
||||
$user->setEmail($this->postParam("email"));
|
||||
$user->setSince(date("Y-m-d H:i:s"));
|
||||
$user->setRegistering_Ip(CONNECTING_IP);
|
||||
$user->save();
|
||||
|
||||
$this->authenticator->authenticate($chUser->getId());
|
||||
|
|
Loading…
Reference in a new issue