mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user