Add common audiences to wallet config

This commit is contained in:
Hamza-Ayed
2026-04-25 17:01:59 +03:00
parent 671b90a954
commit fca292f2a4
2 changed files with 3 additions and 1 deletions

View File

@@ -617,7 +617,7 @@ class AuthController extends Controller
$fingerPrint = $request->input('fingerPrint');
// Check if audience is allowed
$allowedAudiences = [config('intaleq.allowed_wallet_1'), config('intaleq.allowed_wallet_2')];
$allowedAudiences = config('intaleq.wallet_allowed_audiences', []);
if (!in_array($audience, $allowedAudiences)) {
return $this->failure('Invalid audience');
}