[v10.0.x] Auth: Fix visibility of the Invite button on /admin/users page (#69067)

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

* Fix for invite button visibility

* Align test

(cherry picked from commit df4db412cb)

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2023-05-25 16:34:27 +02:00
committed by GitHub
co-authored by Misi
parent 95726f1530
commit e5153d7bf3
3 changed files with 7 additions and 7 deletions
+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{}