commit f7ac9fb9f68cf3b64c965eaf3079b186d919966a
parent fd6b51732e24732535a5db2cf54149083f2db1fc
Author: Antoine A <>
Date: Mon, 21 Oct 2024 21:35:00 +0200
corebank: more error codes
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
@@ -347,6 +347,8 @@ Account Management
* ``TALER_EC_BANK_NON_ADMIN_SET_TAN_CHANNEL`` : a non-admin user has tried to create an account with 2fa.
* ``TALER_EC_BANK_TAN_CHANNEL_NOT_SUPPORTED``: ``tan_channel`` is not supported, check bank config to find supported ones.
* ``TALER_EC_BANK_MISSING_TAN_INFO``: the user did not share any contact data where to send the TAN via ``tan_channel``.
+ * ``TALER_EC_BANK_PASSWORD_TOO_SHORT``: password is shorter than 8 characters.
+ * ``TALER_EC_BANK_PASSWORD_TOO_LONG``: password is longer than 64 characters.
**Details:**
@@ -450,6 +452,8 @@ Account Management
:http:statuscode:`409 Conflict`:
* ``TALER_EC_BANK_NON_ADMIN_PATCH_MISSING_OLD_PASSWORD``: a non-admin user has tried to change their password whihout providing the current one.
* ``TALER_EC_BANK_PATCH_BAD_OLD_PASSWORD`` : provided old password does not match current password.
+ * ``TALER_EC_BANK_PASSWORD_TOO_SHORT``: new password is shorter than 8 characters.
+ * ``TALER_EC_BANK_PASSWORD_TOO_LONG``: new password is longer than 64 characters.
.. _delete-account: