mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-27 02:37:42 +02:00
Update dependencies (Tokio 1.0) (#144)
This commit is contained in:
@ -54,7 +54,7 @@ impl<C: 'static + Challenge> ResponseError for AuthenticationError<C> {
|
||||
fn error_response(&self) -> HttpResponse {
|
||||
HttpResponse::build(self.status_code)
|
||||
// TODO: Get rid of the `.clone()`
|
||||
.set(WwwAuthenticate(self.challenge.clone()))
|
||||
.insert_header(WwwAuthenticate(self.challenge.clone()))
|
||||
.finish()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user