mirror of
https://github.com/reactos/web.git
synced 2024-11-23 03:39:49 +00:00
[ROSLOGIN] Check for empty redirect field in login POST query
ONLINE-793
This commit is contained in:
parent
cf317fbd7d
commit
8e78ce4ba9
@ -25,7 +25,7 @@
|
||||
}
|
||||
|
||||
// Redirect to the given URL or to the Self-Service if there is none.
|
||||
if (array_key_exists("redirect", $_POST))
|
||||
if (array_key_exists("redirect", $_POST) && !empty($_POST["redirect"]))
|
||||
redirect_to($_POST["redirect"]);
|
||||
else
|
||||
redirect_to("?p=selfservice");
|
||||
|
Loading…
Reference in New Issue
Block a user