Removed invalid todo

This commit is contained in:
Daniel García 2018-12-23 22:46:00 +01:00
parent acb9d1b3c6
commit 1483829c94
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -125,8 +125,6 @@ use rocket::response::{self, Responder, Response};
impl<'r> Responder<'r> for Error { impl<'r> Responder<'r> for Error {
fn respond_to(self, _: &Request) -> response::Result<'r> { fn respond_to(self, _: &Request) -> response::Result<'r> {
// TODO: We could put the security headers here, but it would only apply to the errors
let usr_msg = self.display_error(); let usr_msg = self.display_error();
Response::build() Response::build()