-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
* add is_active column to the database * use is_active field to check if the user is active * add backend logic * handle user disabling on the frontend * sqlx prepare * prevent disabled users from starting the enrollment * set active by default * prevent starting desktop configuration for disabled users * logout disabled users * Apply suggestions from code review Co-authored-by: Jacek Chmielewski <jchmielewski@teonite.com> * remove distinct on * logout, then change status * update generated localization * add warnings * modify frontend handling of disabled users * sqlx prepare * add tests * prevent from starting password reset on disabled user * don't display password reset button if the user is disabled * add ldap todo * hide user status from himself * prevent admin from disabling himself * add more tests * properly check if the admin is going to disable himself * fix css * add new line to migrations * rephrase Co-authored-by: Adam <aciarcinski@teonite.com> * don't panic * add more log messages * make tests more reliable * upddate protobufs * format * sqlx prepare * fix test --------- Co-authored-by: Jacek Chmielewski <jchmielewski@teonite.com> Co-authored-by: Adam <aciarcinski@teonite.com>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.