Updated UI with accounts and fixed routing
This commit is contained in:
@@ -140,7 +140,9 @@ async fn validate_session(req: HttpRequest) -> HttpResponse {
|
||||
session_id,
|
||||
ip_address
|
||||
);
|
||||
return ResponseError::error_response(&Error::new(500, err.to_string()));
|
||||
return HttpResponse::Unauthorized()
|
||||
.cookie(Session::empty_cookie())
|
||||
.finish();
|
||||
}
|
||||
};
|
||||
let email = &session.email;
|
||||
|
||||
Reference in New Issue
Block a user