Unverified Commit 1fd236d1 authored by Jeffrey Morgan's avatar Jeffrey Morgan Committed by GitHub
Browse files

server: remove jwt decoding error (#5027)

parent e87fc720
......@@ -960,7 +960,6 @@ var errUnauthorized = fmt.Errorf("unauthorized: access denied")
func getTokenSubject(token string) string {
parts := strings.Split(token, ".")
if len(parts) != 3 {
slog.Error("jwt token does not contain 3 parts")
return ""
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment