Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit 4108645

Browse files
author
Lorenz Bausch
committed
log User in viaRemember
1 parent 2222ff1 commit 4108645

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/Http/Controllers/Controller.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ abstract class Controller extends BaseController
3333
*/
3434
public function __construct()
3535
{
36+
if (\Auth::viaRemember()) {
37+
\Auth::login(\Auth::User());
38+
}
39+
3640
if (\Auth::check()) {
3741
$this->user = \Auth::User();
3842

0 commit comments

Comments
 (0)