mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-06-07 08:01:44 +00:00
feat(!783): Add admin commands for managing tokens
This commit is contained in:
@@ -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