server icon indicating copy to clipboard operation
server copied to clipboard

Fix claiming accounts ( + email sanitisation )

Open MaddyUnderStars opened this issue 3 years ago • 2 comments

  • /users/@me PATCH would always require username field, breaking account claiming as the form only sent email and `password
  • Added a call to adjustEmail in /users/@me to prevent any string from being accepted as new account email

MaddyUnderStars avatar Feb 17 '22 10:02 MaddyUnderStars

Setting password required in config still breaks account claiming since no password is given to register endpoint, but I'm not sure how you would fix this.

MaddyUnderStars avatar Feb 19 '22 01:02 MaddyUnderStars

Been a while but I finally remembered this PR. Suggestions done

MaddyUnderStars avatar Jul 07 '22 13:07 MaddyUnderStars