Fixed logging in issue
This commit is contained in:
parent
9ca1050979
commit
7adb167e53
@ -68,14 +68,14 @@ class Home
|
||||
Session::put('privilege', $user['privilege']);
|
||||
|
||||
$info = "Berhasil masuk";
|
||||
Session::flash('info', $info);
|
||||
Redirect::to('/');
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Session::flash('info', $info);
|
||||
Redirect::to('/');
|
||||
die();
|
||||
} else {
|
||||
View::render('Access/login.html', [
|
||||
'token' => Token::generate()
|
||||
|
Loading…
Reference in New Issue
Block a user