Closed
Description
The redirect is not working after login, as the url is duplicated.
Solution:
in config.php a new line after 'URL' definition:
'BASE_URL' => str_replace('public', '', dirname($_SERVER['SCRIPT_NAME'])),
in Auth.php change the header() line to:
header('location: ' . Config::get('URL') . 'login?redirect=' . urlencode(substr($_SERVER['REQUEST_URI'],strlen(Config::get('BASE_URL')))));
L
Metadata
Assignees
Labels
No labels