IAM: align AuthInfo interface (#97228)

* Update to use updated interface
This commit is contained in:
Karl Persson
2024-12-03 15:11:17 +01:00
committed by GitHub
parent 4a95594e4b
commit 3a17d0c927
19 changed files with 250 additions and 366 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ func (hs *HTTPServer) StartEmailVerificaton(c *contextmodel.ReqContext) response
return response.Error(http.StatusBadRequest, "Only users can verify their email", nil)
}
if c.SignedInUser.IsEmailVerified() {
if c.SignedInUser.GetEmailVerified() {
// email is already verified so we don't need to trigger the flow.
return response.Respond(http.StatusNotModified, nil)
}