MarseyWorld/files/templates/login
justcool393 6dbad04f08 band-aid fix for frozen session issue on signup (#50)
through some reason or another, people are somehow getting cookies that aren't prepended with a dot.

this is a problem because both sessions at, as best as I can tell, mix so it tries to read from a different cookie than we write to. this essentially "freezes" the session in place. users are unable to login, logout, signup, toggle poor mode, toggle NSFW, etc.

~~this attempts to delete bad session cookies (i.e. cookies with a domain that don't start with a dot).~~

~~we don't do this on "dotless" domains (and by extension localhost) because browser support for setting cookies on FQDNs that only have one dot has tenuous support among browsers anyway).~~

~~this *may* log some people out, but... their days of being able to do stuff on the site were numbered anyway.~~

**edit: as amazing as this thought was, browsers just wipe the entire cookies completely and there's no way to specifically target dotless cookies. for an issue that affects a few users, better to just tell them to clear their cookies. if *this* doesn't work, delete service-worker.js and be done with the whole service worker crap. forever. permanently. this PR also includes some QOL improvements.**

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#50
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-06 22:07:12 +00:00
..
authforms.html band-aid fix for frozen session issue on signup (#50) 2022-12-06 22:07:12 +00:00
forgot_password.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00
login.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00
login_2fa.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00
lost_2fa.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00
reset_password.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00
sign_up.html band-aid fix for frozen session issue on signup (#50) 2022-12-06 22:07:12 +00:00
sign_up_failed_ref.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00