Skip to content

Commit

Permalink
Correct error of #3
Browse files Browse the repository at this point in the history
  • Loading branch information
fanningert committed Apr 1, 2024
1 parent 8c45a1a commit 3385b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/SimpleAutoLoginPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface

Auth::login($user);
Log::addAuthenticationLog('Login: ' . Auth::user()->userName() . '/' . Auth::user()->realName());
Auth::user()->setPreference(UserInterface::PREF_TIMESTAMP_ACTIVE, (string) Carbon::now()->unix());
Auth::user()->setPreference(UserInterface::PREF_TIMESTAMP_ACTIVE, (string) time());

Session::put('language', Auth::user()->getPreference(UserInterface::PREF_LANGUAGE));
Session::put('theme', Auth::user()->getPreference(UserInterface::PREF_THEME));
Expand Down

0 comments on commit 3385b37

Please sign in to comment.