Fix login path
This commit is contained in:
parent
c85bb0ef72
commit
7347151c95
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ pub async fn register(
|
|||
.map_err(|e| HttpResponse::InternalServerError().json(e.to_string()))
|
||||
}
|
||||
|
||||
#[post("auth/login")]
|
||||
#[post("/auth/login")]
|
||||
pub async fn login(
|
||||
id: Identity,
|
||||
auth_user: web::Json<AuthUser>,
|
||||
|
|
Loading…
Reference in a new issue