Skip to content

Commit f5cd5ad

Browse files
Ubah Login Default
1 parent 888fbd1 commit f5cd5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected function authenticated(Request $request, $user)
6262
{
6363
$redirect = redirect()->intended($this->redirectPath($request));
6464
session(['year' => $request->input('year')]);
65-
session(['role' => $user->role]);
65+
session(['role' => 'pegawai']);
6666
return $request->wantsJson()
6767
? new JsonResponse([
6868
'redirect' => $redirect->getTargetUrl(),

0 commit comments

Comments
 (0)