mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-12-27 22:18:51 +00:00
Limit new route with password check
This commit is contained in:
parent
d2d16d42d3
commit
2edffa36d8
@ -175,7 +175,7 @@ pub fn get_routes() -> Vec<Route> {
|
||||
Route::post("/settings/upload_custom_emoji", Box::new(settings_controller::upload_custom_emoji)),
|
||||
Route::post("/settings/delete_custom_emoji", Box::new(settings_controller::delete_custom_emoji)),
|
||||
Route::post("/settings/get_data_conservation_policy", Box::new(settings_controller::get_data_conservation_policy)),
|
||||
Route::post("/settings/set_data_conservation_policy", Box::new(settings_controller::set_data_conservation_policy)),
|
||||
Route::limited_post("/settings/set_data_conservation_policy", Box::new(settings_controller::set_data_conservation_policy), LimitPolicy::FAILURE(10)),
|
||||
|
||||
|
||||
// Friends controller
|
||||
|
Loading…
Reference in New Issue
Block a user