server: remove jwt decoding error (#5027)
This commit is contained in:
parent
e87fc7200d
commit
1fd236d177
1 changed files with 0 additions and 1 deletions
|
@ -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 ""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue