refs #220
This commit is contained in:
parent
df9ade4ff4
commit
86df2e3791
@ -73,7 +73,7 @@ class Login extends Controller
|
|||||||
$path = session('url.intended', 'customers');
|
$path = session('url.intended', 'customers');
|
||||||
|
|
||||||
// Path must start with 'customers' prefix
|
// Path must start with 'customers' prefix
|
||||||
if ($path == env('APP_URL')) {
|
if (!str_contains($path, 'customers')) {
|
||||||
$path = 'customers';
|
$path = 'customers';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user