diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-26 13:21:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-26 13:21:28 +0100 |
commit | 11627b38bbbe1942f8ad2667bc8297478879c6bd (patch) | |
tree | 41df05ae2d2f11c226bef59ac4db9838c747d266 /src/exchange/taler-exchange-httpd_keystate.c | |
parent | cc511b93bed1855e3c1dbfc9fca86c15fbbb0d22 (diff) | |
download | exchange-11627b38bbbe1942f8ad2667bc8297478879c6bd.tar.gz exchange-11627b38bbbe1942f8ad2667bc8297478879c6bd.tar.bz2 exchange-11627b38bbbe1942f8ad2667bc8297478879c6bd.zip |
use correct HTTP status codes:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keystate.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 7f0f20125..2d80d03a7 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -2545,7 +2545,7 @@ TEH_handler_keys (const struct TEH_RequestHandler *rh, { /* Option not allowed by configuration */ return TALER_MHD_reply_with_error (connection, - MHD_HTTP_BAD_REQUEST, + MHD_HTTP_FORBIDDEN, TALER_EC_KEYS_TIMETRAVEL_FORBIDDEN, NULL); } |