Merge branch 'atie' into 'main'
update user forgot password redirect link bid.arr See merge request online-sistem1/lelong!390
This commit is contained in:
@@ -139,6 +139,11 @@ class UserController extends Controller
|
||||
$user['token'] = '';
|
||||
$user['password'] = Hash::make($request->password);
|
||||
$user->save();
|
||||
// dd($user->user_type);
|
||||
if($user->user_type = 2){
|
||||
return redirect()->to('https://bid.arrahn.com.my');
|
||||
}
|
||||
|
||||
return redirect()->route('login')->with('success', 'Berjaya! Katalaluan Anda Telah Didaftarkan.');
|
||||
}
|
||||
return redirect()->route('forgot-password')->with('failed', 'Gadal! Sila Cuba Lagi...');
|
||||
|
||||
Reference in New Issue
Block a user