feat(!783): Add admin commands for managing tokens

This commit is contained in:
Ginger
2026-01-06 11:13:11 -05:00
parent 42f4ec34cd
commit ca77970ff3
10 changed files with 233 additions and 44 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ pub async fn try_auth(
}
},
| AuthData::RegistrationToken(t) => {
let token = t.token.trim();
let token = t.token.trim().to_owned();
if let Some(valid_token) = self
.services