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

This commit is contained in:
Ginger committed 2026-01-06 11:13:21 -05:00
1 parent c1e6cb6a6e
commit 389764aa67
10 files changed
+233 -44

No files matched your search

+1 -1
View File
@@ -864,7 +864,7 @@ pub(crate) async fn check_registration_token_validity(
let valid = services
.registration_tokens
.validate_token(&body.token)
.validate_token(body.token.clone())
.await
.is_some();