This commit is contained in:
denisdulici 2018-03-06 17:55:05 +03:00
parent df9ade4ff4
commit 86df2e3791

View File

@ -73,7 +73,7 @@ class Login extends Controller
$path = session('url.intended', 'customers');
// Path must start with 'customers' prefix
if ($path == env('APP_URL')) {
if (!str_contains($path, 'customers')) {
$path = 'customers';
}