Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
🐛 Added missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
anditv21 committed Aug 6, 2024
1 parent 88d2408 commit c51fae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function loginUser($data)
setcookie("login_cookie", $token, time() + 31556926, '/');
$_SESSION["username"] = $username;
$this->log($username, "Logged in", auth_logs);
$this->loglogin();
$this->loglogin($token);
$this->resetfails($username);
Util::redirect("/index.php");
} else {
Expand Down

0 comments on commit c51fae1

Please sign in to comment.