-
-
Couldn't load subscription status.
- Fork 1.8k
Open
Labels
A-webproject: actix-webproject: actix-webgood-first-issueeasy to pick up for newcomerseasy to pick up for newcomersneeds-investigation
Description
In the following example, the auth middleware did not take effect. It will run create_library directly without identity verification.
web::resource("/library")
.route(web::get().to(library_handlers::get_libraries))
.route(web::post().wrap(auth.clone()).to(library_handlers::create_library)),Your Environment
- Rust Version: 1.89.0
- Actix Web Version: 4.11.0
Metadata
Metadata
Assignees
Labels
A-webproject: actix-webproject: actix-webgood-first-issueeasy to pick up for newcomerseasy to pick up for newcomersneeds-investigation