(id: Identity)
| 41 | |
| 42 | pub async fn logout(id: Identity) -> HttpResponse { |
| 43 | id.logout(); |
| 44 | HttpResponse::NoContent().finish() |
| 45 | } |
| 46 | |
| 47 | pub async fn login( |
| 48 | req: HttpRequest, |
| 49 | auth_data: web::Json<AuthData>, |
nothing calls this directly
no outgoing calls
no test coverage detected