Add tab for user actions. First action is a password change

This commit is contained in:
Cam
2024-01-23 10:20:02 -06:00
parent 8d88e32d91
commit 5861cc7d7e
27 changed files with 1643 additions and 14 deletions

View File

@ -44,6 +44,7 @@ func Run(inCfg *config.Config) error {
api := operations.NewZrokAPI(swaggerSpec)
api.KeyAuth = newZrokAuthenticator(cfg).authenticate
api.AccountChangePasswordHandler = newChangePasswordHandler(cfg)
api.AccountInviteHandler = newInviteHandler(cfg)
api.AccountLoginHandler = account.LoginHandlerFunc(loginHandler)
api.AccountRegisterHandler = newRegisterHandler(cfg)