diff --git a/src/controllers/routes.rs b/src/controllers/routes.rs index 664c6bd..ece0d33 100644 --- a/src/controllers/routes.rs +++ b/src/controllers/routes.rs @@ -67,7 +67,7 @@ pub fn get_routes() -> Vec { Route::get_without_login("/", Box::new(server_controller::main_index)), // Account controller - Route::post("/account/create", Box::new(account_controller::create)), + Route::post_without_login("/account/create", Box::new(account_controller::create)), Route::post_without_login("/account/login", Box::new(account_controller::login_user)), Route::post_without_login("/user/connectUSER", Box::new(account_controller::login_user)), Route::post("/account/logout", Box::new(account_controller::logout_user)),