Commit eb99009e authored by syaifurplus's avatar syaifurplus

fix sesi habis login message

parent a6063776
...@@ -21,7 +21,7 @@ class Login ...@@ -21,7 +21,7 @@ class Login
$users = UserModel::where('id', session()->get('users_id'))->first(); $users = UserModel::where('id', session()->get('users_id'))->first();
if (!$users) { if (!$users) {
return redirect()->route('login')->with('error', 'User not found. Please log in again.'); return redirect()->route('login')->with('error', 'Sesi Login anda telah habis, Mohon untuk Login kembali');
} }
if ((Hash::check('bkpeduli', $users->password)) || (Hash::check('bk-peduli', $users->password))) { if ((Hash::check('bkpeduli', $users->password)) || (Hash::check('bk-peduli', $users->password))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment