Get settings working and autologin

This commit is contained in:
Kode
2018-10-15 19:56:45 +01:00
parent aa351e31bf
commit d0293c785b
15 changed files with 204 additions and 126 deletions

View File

@@ -93,7 +93,10 @@ class LoginController extends Controller
public function autologin($uuid)
{
$user = User::where('autologin', $uuid)->first();
Auth::login($user);
session(['current_user' => $user]);
return redirect()->route('dash');
}
/**