pcmt/modules/user
leo 6ce05ea74d
All checks were successful
continuous-integration/drone/push Build is passing
feat: add initial admin user creation
have the app create the initial admin user:
* if the db has not yet been set up
* if there are not users
* if the config value for Init.CreateAdmin is True
* if the admin password is not empty

default username, email values can be seen in modules/user/const.go
2023-05-21 18:50:41 +02:00
..
const.go feat: add initial admin user creation 2023-05-21 18:50:41 +02:00
context.go feat: add license headers (+spdx id) 2023-05-20 20:15:57 +02:00
error.go feat: add initial admin user creation 2023-05-21 18:50:41 +02:00
user_test.go feat: add license headers (+spdx id) 2023-05-20 20:15:57 +02:00
user.go feat: add initial admin user creation 2023-05-21 18:50:41 +02:00