Closed tarex closed 9 years ago
Related to #1006 custom message will be "Your session has expired. Please login to continue."
Actually there's an expire url that can be used for this, do you need to send custom messages there?
@tarex
sure , custom message will be helpful for the future work too .
The page requires a < h1> so you'll have to send that as well.
how can i send the tag ? i was thinking to send the message form the url .
like logout?reason="here is the reason"
You mean as a request parameter?
?title=some title&message=some message
Yes.
yes
I'm actually not a huge fan of allowing arbitrary messages to be passed in via the URL parameter. That's just begging for a XSS vulnerability. Can't we just hardcore the error messages in the page like we did previously?
Yes.
the url should accept some param and show it to the login page as the reason for logout .