Add common audiences to wallet config
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user