Skip to content

Commit

Permalink
Fix regression that causes panic when logging in via Radius. (#7290)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncabatoff authored and briankassouf committed Aug 14, 2019
1 parent 2cc4d8b commit 83d3f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/credential/radius/path_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ func (b *backend) pathLogin(ctx context.Context, req *logical.Request, d *framew
}
cfg.PopulateTokenAuth(auth)

resp.Auth = auth
if policies != nil {
resp.Auth.Policies = append(resp.Auth.Policies, policies...)
}

resp.Auth = auth
return resp, nil
}

Expand Down

0 comments on commit 83d3f47

Please sign in to comment.