Skip to content

Commit 563f263

Browse files
Update server/auth.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2b4f5e7 commit 563f263

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

server/auth.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ def validate_token(self, token: str) -> Dict:
162162
if token_id not in self.tokens:
163163
raise ValueError(f"Unknown token after reload: {token_id}")
164164

165-
if token_id not in self.tokens:
166-
raise ValueError(f"Unknown token: {token_id}")
167-
168165
token_info = self.tokens[token_id]
169166

170167
# Verify secret

0 commit comments

Comments
 (0)