Update misleading Authenticated bool with new name and explanation. (#1111)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-04-13 17:55:40 -04:00
1 parent f8f66abcf4
commit 412018fbb4
11 files changed
+39 -19

No files matched your search

@@ -133,7 +133,7 @@ func (s Service) ListAuthMethods(ctx context.Context, req *pbs.ListAuthMethodsRe
// may have authorization on downstream scopes.
if authResults.Error == handlers.ForbiddenError() &&
req.GetRecursive() &&
authResults.Authenticated {
authResults.AuthenticationFinished {
} else {
return nil, authResults.Error
}