spacebarchat / server

Spacebar server - A reimplementation of the Discord.com backend, built with Typescript and love
https://spacebar.chat
GNU Affero General Public License v3.0
1.49k stars 250 forks source link

Check for old password when setting new #1200

Open MathMan05 opened 3 months ago

MathMan05 commented 3 months ago

Checks for password

MathMan05 commented 3 months ago

So uh, I don't really know how to fix it, but looking at it again it's totally meant to be

if (!body.password && user.email) {
MathMan05 commented 3 months ago

Ok, I fixed the request lol