Azareal / Gosora

Gosora is an ultra-fast and secure forum software written in Go that balances usability with functionality.
https://gosora-project.com/
GNU General Public License v3.0
164 stars 16 forks source link

Theme changes when login is unsuccessful #1

Closed SUP3RIA closed 6 years ago

SUP3RIA commented 6 years ago

Chosen theme seems to fall back to default theme when login is unsuccessful .

Login: https://gosora-project.com/accounts/login/ Unsuccesful referral: https://gosora-project.com/accounts/login/submit/

Azareal commented 6 years ago

Hmmmm, I'll probably bounce an AJAX error back at the user at some point, maybe in the alpha phase. I began adding per-request state to the not found page, but it might be tricky with the other ones, as the state might contaminate the error logic and cause an error in an error, unlikely but possible.

Still, I'll consider adding per-request state to them all.