542c8ee5fe964946b101630217333bb663dc12ce
29f52515e1
Author: Ralf Haferkamp <rhaferkamp@owncloud.com> Date: Wed Aug 31 12:46:03 2022 +0200 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
Description
No description provided
957 MiB
0 Stars
1 Watchers
0 Forks
Languages
Go
32.7%
TypeScript
24.3%
Gherkin
23.9%
Vue
8.5%
PHP
8.1%
Other
2.3%