chore(users): add missing azure id field for UsersAdd

This commit is contained in:
Sarah Vaupel 2024-01-30 21:53:58 +01:00
parent 3c4e6b62fb
commit 608d8a3661

View File

@ -36,6 +36,7 @@ adminUserForm template = renderAForm FormStandard
<*> areq (emailField & cfCI) (fslI MsgAdminUserEmail) (audEmail <$> template)
<*> areq (textField & cfStrip & cfCI) (fslI MsgAdminUserIdent) (audIdent <$> template)
<*> areq (selectField optionsFinite) (fslI MsgAdminUserAuth & setTooltip MsgAdminUserAuthTooltip) (audAuth <$> template <|> Just AuthKindLDAP)
<*> aopt uuidField (fslI MsgAdminUserAzureId) (audAzureId <$> template)
-- | Like `addNewUser`, but starts background jobs and tries to notify users, if applicable (i.e. /= AuthNoLogin )
addNewUserNotify :: AddUserData -> Handler (Maybe UserId)