mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 04:06:54 +00:00
feat(!783): Add admin commands for managing tokens
This commit is contained in:
1 parent
42f4ec34cd
commit
ca77970ff3
10 files changed
+233
-44
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user