mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 02:55:39 +00:00
feat: migrate v1 api mod to use actix_auth_middleware
This commit is contained in:
@@ -70,7 +70,7 @@ async fn update_password_runner(
|
||||
|
||||
#[my_codegen::post(
|
||||
path = "crate::V1_API_ROUTES.account.update_password",
|
||||
wrap = "crate::CheckLogin"
|
||||
wrap = "crate::api::v1::get_middleware()"
|
||||
)]
|
||||
async fn update_user_password(
|
||||
id: Identity,
|
||||
|
||||
Reference in New Issue
Block a user