hodooor / Hodoor

Server side for Hodoor - Casual attendance system
GNU General Public License v3.0
8 stars 6 forks source link

Password reset returns Server Error (500) #122

Closed ToKraTheSecond closed 6 years ago

ToKraTheSecond commented 6 years ago

User is unable to reset lost password.

Lost your password? > write email > Reset password > Server Error (500)

DavidKozina commented 6 years ago

Does the error 500 appear after reseting password, @ToKraTheSecond? When I tested that, it appears before reseting, after writing my email... And I find out that it shows "we send you email..." text for nonregistered emails (e.g. davidek.kozina@gmail.com) without sending anything, and for my registered email (david.kozina@eledus.cz) it raises error 500... that is wrong, definitely...

DavidKozina commented 6 years ago

It is related to issue #113

ToKraTheSecond commented 6 years ago

When you write email and confirm it enter button push - it works OK. But if you confirm typed emaile by clicking on 'Reset password' it gives 'Server Error 500'

ToKraTheSecond commented 6 years ago

This happens only for email that are stored in hodoor database.

DavidKozina commented 6 years ago

If you type in nonregistered email, it doesn't send any email, so it doesn't fail... but it is still redirected to password_reset_done, where it say to user, that email was send... so hodoor is a lier.

DavidKozina commented 6 years ago

There is error with sending emails and EMAIL_HOST_PASSWORD

DavidKozina commented 6 years ago

Password reset successfully fixed.

Problem with "Email was successfuly send" for emails which was not send because they are not in database still remains.

DavidKozina commented 6 years ago

This is resolved, can be closed