mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 18:55:57 +03:00
Removed invalid todo
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user