Do not try to redirect to previous page or destination on logout!

This commit is contained in:
2016-04-13 23:12:11 +02:00
parent 816f0eb820
commit 0e3419fea0

View File

@@ -324,10 +324,10 @@ feature -- Handler
else else
loc := "" loc := ""
end end
-- Do not try to redirect to previous page or destination!
if attached {WSF_STRING} req.query_parameter ("destination") as l_destination then -- if attached {WSF_STRING} req.query_parameter ("destination") as l_destination then
loc.append ("?destination=" + l_destination.url_encoded_value) -- loc.append ("?destination=" + l_destination.url_encoded_value)
end -- end
r.set_redirection (loc) r.set_redirection (loc)
r.execute r.execute
end end