Update misleading Authenticated bool with new name and explanation. (#1111)
This commit is contained in:
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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user