Do not set destination query parameter to any account/auth url.

Set "site_sign_in_url" and "site_sign_out_url" as variables (so it could be used by template).
This commit is contained in:
2016-02-03 23:16:05 +01:00
parent 3496536751
commit 892f2331de
2 changed files with 42 additions and 11 deletions

View File

@@ -68,9 +68,9 @@ feature -- Hooks
l_destination: READABLE_STRING_8
do
if attached {WSF_STRING} a_response.request.query_parameter ("destination") as p_destination then
l_destination := p_destination.url_encoded_value
l_destination := p_destination.value
else
l_destination := percent_encoded (a_response.location)
l_destination := a_response.location
end
if is_authenticating (a_response) then