server
server copied to clipboard
Fix claiming accounts ( + email sanitisation )
-
/users/@mePATCH would always requireusernamefield, breaking account claiming as the form only sentemailand `password - Added a call to
adjustEmailin/users/@meto prevent any string from being accepted as new account email
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.
Been a while but I finally remembered this PR. Suggestions done