summaryrefslogtreecommitdiff
path: root/src/include/taler_error_codes.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-23 21:53:14 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-23 21:53:14 +0100
commit51e54bbaa18397f599e5078153671c98c719c695 (patch)
tree78cc64b1204e850335d22a8349c3ab296219e4b2 /src/include/taler_error_codes.h
parentbd8bae913ce0fbd316bd8f0608799d3547f4cba6 (diff)
downloadexchange-51e54bbaa18397f599e5078153671c98c719c695.tar.gz
exchange-51e54bbaa18397f599e5078153671c98c719c695.tar.bz2
exchange-51e54bbaa18397f599e5078153671c98c719c695.zip
use FORBIDDEN, never UNAUTHORIZED
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r--src/include/taler_error_codes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 28ee64fed..a2a9bcc46 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -929,7 +929,7 @@ enum TALER_ErrorCode
/**
* The given coin signature is invalid for the request.
* This response is provided with an
- * HTTP status code of MHD_HTTP_UNAUTHORIZED.
+ * HTTP status code of MHD_HTTP_FORBIDDEN.
*/
TALER_EC_PAYBACK_SIGNATURE_INVALID = 1851,
@@ -1905,7 +1905,7 @@ enum TALER_ErrorCode
* The signature provided in the "Sync-Signature" header
* does not match the account, old or new Etags.
* This response is provided with HTTP status code
- * MHD_HTTP_UNAUTHORIZED.
+ * MHD_HTTP_FORBIDDEN.
*/
TALER_EC_SYNC_INVALID_SIGNATURE = 6007,