Fix bad http code
This commit is contained in:
		@@ -170,7 +170,7 @@ impl FromRequest for LoginToken {
 | 
			
		||||
            let token = match load_token_info(&token).await {
 | 
			
		||||
                Err(e) => {
 | 
			
		||||
                    log::error!("Failed to load auth token! {}", e);
 | 
			
		||||
                    return Err(actix_web::error::ErrorInternalServerError(
 | 
			
		||||
                    return Err(actix_web::error::ErrorPreconditionFailed(
 | 
			
		||||
                        "Failed to check auth token!",
 | 
			
		||||
                    ));
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user