1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-26 15:29:21 +00:00

Fix bad check

This commit is contained in:
Pierre HUBERT 2020-07-13 13:36:59 +02:00
parent c4f5447230
commit d33e1fe77c

View File

@ -67,7 +67,7 @@ pub fn get_routes() -> Vec<Route> {
Route::get_without_login("/", Box::new(server_controller::main_index)), Route::get_without_login("/", Box::new(server_controller::main_index)),
// Account controller // 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("/account/login", Box::new(account_controller::login_user)),
Route::post_without_login("/user/connectUSER", 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)), Route::post("/account/logout", Box::new(account_controller::logout_user)),