init
This commit is contained in:
@@ -48,8 +48,8 @@ pub async fn login_user_pw(
|
||||
)
|
||||
)]
|
||||
pub async fn check(
|
||||
State(state): State<AppState>,
|
||||
user: CurrentUser,
|
||||
State(_state): State<AppState>,
|
||||
_user: CurrentUser,
|
||||
) -> Result<Json<CheckResponse>, HTTPError> {
|
||||
Ok(Json(CheckResponse {
|
||||
authenticated: true,
|
||||
|
||||
Reference in New Issue
Block a user