diff --git a/app/Listeners/HandleUserLoggedIn.php b/app/Listeners/HandleUserLoggedIn.php index 4e85abe2fc0d..3c74d37cad37 100644 --- a/app/Listeners/HandleUserLoggedIn.php +++ b/app/Listeners/HandleUserLoggedIn.php @@ -79,8 +79,8 @@ class HandleUserLoggedIn if (! Utils::isNinja()) { // check custom gateway id is correct - $gateway = Gateway::find(GATEWAY_CUSTOM); - if (! $gateway || $gateway->name !== 'Custom') { + $gateway = Gateway::find(GATEWAY_CUSTOM1); + if (! $gateway || $gateway->name !== 'Custom1') { Session::flash('error', trans('texts.error_incorrect_gateway_ids')); }