diff options
Diffstat (limited to '')
-rw-r--r-- | src/auth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.rs b/src/auth.rs index dbb501d..faf967c 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -147,7 +147,7 @@ fn build_unauthorized_response( } let return_path = match &req.state().random_route { Some(random_route) => format!("/{}", random_route), - None => req.path().to_string(), + None => "/".to_string(), }; renderer::render_error( |