soegaard / racket-stories

Racket Stories is a "submit and vote" web site. This repo serves as an example of a small "in production" web-site written in Racket.
MIT License
42 stars 6 forks source link

Can't create account or log in #18

Open default-kramer opened 3 years ago

default-kramer commented 3 years ago

I just tried creating an account. The POST to /create-account-submitted returned a 302 redirect to /login, and no error message was displayed. I wondered if maybe it did actually create my account, so I tried to log in with the credentials I just submitted. The POST to /login-submitted also returned a 302 redirect to /login, again with no error message.

I tried both Firefox and Chrome, both with uBlock Origin.

soegaard commented 3 years ago

Hi Ryan,

Thanks for the report.

I just tried creating a new user with Chrome without uBlock Origin (I don't know anything about it) and it worked as expected. Can you disable uBlock temporarily?

FWIW I used the lower part:

[image: image.png] and clicked "Create Account".

/Jens Axel

Den lør. 25. sep. 2021 kl. 22.03 skrev Ryan Kramer @.***

:

I just tried creating an account. The POST to /create-account-submitted returned a 302 redirect to /login, and no error message was displayed. I wondered if maybe it did actually create my account, so I tried to log in with the credentials I just submitted. The POST to /login-submitted also returned a 302 redirect to /login, again with no error message.

I tried both Firefox and Chrome, both with uBlock Origin.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/soegaard/racket-stories/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADQXRKH5DMGGREWZZXUMMLUDYTIVANCNFSM5EX6A2AA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- -- Jens Axel Søgaard

soegaard commented 3 years ago

I forgot again, that email reponses looses the attached image, when it reaches Github. The missing image:

image

default-kramer commented 3 years ago

Aha, apparently . is not an allowed character. Specifically default.kramer did not work, but defaultkramer did work.

soegaard commented 3 years ago

Oh!

Racket Stories need a better way of reacting to that.

I'll take a look at improving the validation.

/Jens Axel

Den lør. 25. sep. 2021 kl. 22.41 skrev Ryan Kramer @.***

:

Aha, apparently . is not an allowed character. Specifically default.kramer did not work, but defaultkramer did work.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/soegaard/racket-stories/issues/18#issuecomment-927180256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADQXRKZN3K4ALH2F2K65QDUDYXZFANCNFSM5EX6A2AA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- -- Jens Axel Søgaard