3 Commits

Author SHA1 Message Date
einhornimmond
4df9ad380f make change password behave more like the other
- more tests
- make session_id optional, if not set take Login-Server Cookie
- check only for password_old if user was logged in with password, else reset password from email wouldn't work
- make successfull change password also add 1 to valid_values
- don't update other fields in db if only update password was called
2021-06-14 16:41:03 +02:00
einhornimmond
f88ddbbf1c update string validation
- move it in extra function to have less code copies
- fix bug which return no error messag if input was an array instead of a string
2021-06-10 09:58:08 +02:00
ac99a7097e Add 'login_server/' from commit 'ca71af1817a801db9a108c205bc298250d498c4b'
git-subtree-dir: login_server
git-subtree-mainline: 09ebb40de21084bb10ee466429d900a5e757d349
git-subtree-split: ca71af1817a801db9a108c205bc298250d498c4b
2021-03-17 22:05:25 +01:00