diff options
author | Vika <vika@fireburn.ru> | 2024-11-15 04:43:58 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-11-15 04:43:58 +0300 |
commit | ed36a42f20758465d09961e8993911ca1d71f1c3 (patch) | |
tree | f63515a0363fb34a4aacb024018e7948f5b8d784 /src/indieauth | |
parent | 42506c91065cd69bd03ce68715662dd898e2181f (diff) | |
download | kittybox-main.tar.zst |
whoops Change-Id: I695c77b76806165af88935c37f40386923d95220
Diffstat (limited to 'src/indieauth')
-rw-r--r-- | src/indieauth/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indieauth/mod.rs b/src/indieauth/mod.rs index b3db77f..0ac3dfd 100644 --- a/src/indieauth/mod.rs +++ b/src/indieauth/mod.rs @@ -59,7 +59,7 @@ impl axum::response::IntoResponse for IndieAuthResourceError { InvalidToken => ( StatusCode::UNAUTHORIZED, [("WWW-Authenticate", "Bearer, error=\"invalid_token\"")], - Json(&serde_json::json!({"error": "unauthorized"})) + Json(&serde_json::json!({"error": "not_authorized"})) ).into_response() } } |