Commit Graph

3 Commits

Author SHA1 Message Date
Ralf Haferkamp
29f52515e1 graph: Fix Status code when updating the password
Up to now the /me/changePassword endpoint return a 500 Status when
issue a password change with the old password set to the wrong password.
This changes the code to return 400 (Bad Request) with an additional
message that the old password is wrong. This does not seem to weaken the
security of /me/changePassword (i.e. for allowing easier brute-force
attacks) as the endpoint is only available to already authenticated
users (and only for changing their own passwords)

See #4480
2022-09-05 15:57:46 +02:00
Viktor Scharf
3b548c9be3 [test-only] apiTest. change own password (#4480)
* apiTest. change own password

* fix
2022-08-31 13:02:33 +02:00
Prarup Gurung
07af8544e8 Added test for creating group with case sensitive 2022-08-24 16:33:47 +05:45