Fix for custom gateway check
This commit is contained in:
parent
16c67174b6
commit
80e4c493d1
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class HandleUserLoggedIn
|
|||
if (! Utils::isNinja()) {
|
||||
// check custom gateway id is correct
|
||||
$gateway = Gateway::find(GATEWAY_CUSTOM1);
|
||||
if (! $gateway || $gateway->name !== 'Custom1') {
|
||||
if (! $gateway || $gateway->name !== 'Custom') {
|
||||
Session::flash('error', trans('texts.error_incorrect_gateway_ids'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue