mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
- Check the exitstatus and signalstatus as seen from the ptyprocess module. - Avoid accessing 'log' before is it initialized. - When creating admin user, don't expect JSON message for all other types of errors. They are simple strings. Tests: - Try to modify the password of a non-existent account. Notice the error message is shown. Modify the password of an existing account and it succeeds. - Create an account with username that already exists. Notice that error is shown. Otherwise, it succeeds. - Allow the UI to enter short passwords and notice that error is shown properly during user creation and reset password. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>