summaryrefslogtreecommitdiff
path: root/src/authorization/anastasis_authorization_plugin_email.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-12 21:19:13 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-12 21:19:13 +0200
commit8abd2bc77ab3adfcc95f9cca24e43acc81dc8e19 (patch)
treed86fdeb3231a701c9ceb715d803ffcbf881a9d7c /src/authorization/anastasis_authorization_plugin_email.c
parent7369006076a5eb887aa34ca2dc92c0e63eda0694 (diff)
downloadanastasis-8abd2bc77ab3adfcc95f9cca24e43acc81dc8e19.tar.gz
anastasis-8abd2bc77ab3adfcc95f9cca24e43acc81dc8e19.tar.bz2
anastasis-8abd2bc77ab3adfcc95f9cca24e43acc81dc8e19.zip
clean up status codes, remove old endpoint from API docs
Diffstat (limited to 'src/authorization/anastasis_authorization_plugin_email.c')
-rw-r--r--src/authorization/anastasis_authorization_plugin_email.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authorization/anastasis_authorization_plugin_email.c b/src/authorization/anastasis_authorization_plugin_email.c
index 1f27922..62b50b8 100644
--- a/src/authorization/anastasis_authorization_plugin_email.c
+++ b/src/authorization/anastasis_authorization_plugin_email.c
@@ -220,7 +220,7 @@ email_validate (void *cls,
{
if (MHD_NO ==
TALER_MHD_reply_with_error (connection,
- MHD_HTTP_EXPECTATION_FAILED,
+ MHD_HTTP_CONFLICT,
TALER_EC_ANASTASIS_EMAIL_INVALID,
NULL))
return GNUNET_SYSERR;