Fix bug validate password agent retrait cash
This commit is contained in:
parent
7de562487e
commit
b6ed5a28ab
|
@ -769,7 +769,7 @@ class iLinkTransactionController extends Controller
|
||||||
case 12: // Agent - Retrait en cash
|
case 12: // Agent - Retrait en cash
|
||||||
$this->validate($request, $transaction->remove_cash_rules());
|
$this->validate($request, $transaction->remove_cash_rules());
|
||||||
$agent = AgentPlus::findOrFail($network_agent->agent_id);
|
$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();
|
$transaction = WalletIlinkTransaction::where('id_transaction', $request->id_transaction)->first();
|
||||||
if ($transaction) {
|
if ($transaction) {
|
||||||
//Verifier si l'agent qui a effectué l'envoi de cash à cash ne puisse pas retirer l'argent
|
//Verifier si l'agent qui a effectué l'envoi de cash à cash ne puisse pas retirer l'argent
|
||||||
|
|
Loading…
Reference in New Issue