mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 21:39:21 +00:00
Fix bad check
This commit is contained in:
parent
c4f5447230
commit
d33e1fe77c
@ -67,7 +67,7 @@ pub fn get_routes() -> Vec<Route> {
|
||||
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)),
|
||||
|
Loading…
Reference in New Issue
Block a user