Auth: Fix visibility of the Invite button on /admin/users page (#68991)

* Fix for invite button visibility

* Align test
This commit is contained in:
Misi authored and GitHub committed 2023-05-25 13:58:41 +02:00
1 parent a018fa5cfb
commit df4db412cb
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ func (hs *HTTPServer) AddOrgInvite(c *contextmodel.ReqContext) response.Response
}
if hs.Cfg.DisableLoginForm {
return response.Error(400, "Cannot invite when login is disabled.", nil)
return response.Error(400, "Cannot invite external user when login is disabled.", nil)
}
cmd := tempuser.CreateTempUserCommand{}