diff --git a/app/Http/Controllers/iLinkTransactionController.php b/app/Http/Controllers/iLinkTransactionController.php index 987df1e..e3f504f 100755 --- a/app/Http/Controllers/iLinkTransactionController.php +++ b/app/Http/Controllers/iLinkTransactionController.php @@ -769,7 +769,7 @@ class iLinkTransactionController extends Controller case 12: // Agent - Retrait en cash $this->validate($request, $transaction->remove_cash_rules()); $agent = AgentPlus::findOrFail($network_agent->agent_id); - $this->validate($request->password, $agent->encrypted_password, $agent->salt); + $this->validatePassword($request->password, $agent->encrypted_password, $agent->salt); $transaction = WalletIlinkTransaction::where('id_transaction', $request->id_transaction)->first(); if ($transaction) { //Verifier si l'agent qui a effectué l'envoi de cash à cash ne puisse pas retirer l'argent