login_handler

Function login_handler 

Source
pub async fn login_handler(
    __arg0: State<AppState>,
    __arg1: Json<LoginRequest>,
) -> Result<Json<LoginResponse>, (StatusCode, String)>
Expand description

Login with username and password POST /api/v1/auth/login