From 80e4c493d19e1a2d922d3808fd91883993c018f4 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 15 Apr 2018 17:16:37 +0300 Subject: [PATCH] Fix for custom gateway check --- app/Listeners/HandleUserLoggedIn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Listeners/HandleUserLoggedIn.php b/app/Listeners/HandleUserLoggedIn.php index 3c74d37cad37..a17140bb4ffe 100644 --- a/app/Listeners/HandleUserLoggedIn.php +++ b/app/Listeners/HandleUserLoggedIn.php @@ -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')); }