Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f092c50

Browse files
committed
Remove comment
1 parent 882f93c commit f092c50

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

coderd/userauth.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,6 @@ func (api *API) userOIDC(rw http.ResponseWriter, r *http.Request) {
968968
rolesRow = []string{}
969969
}
970970

971-
// Convert the []interface{} we get to a []string.
972971
rolesInterface, ok := rolesRow.([]interface{})
973972
if !ok {
974973
api.Logger.Error(ctx, "oidc claim user roles field was an unknown type",

0 commit comments

Comments
 (0)