anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit 157efff4973ed4e6837fabd5e7397cc6e578d9a0
parent 4448acec363052c16f7cf696fbe3eb84beb73a94
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 16 Nov 2021 14:37:29 +0100

-deny 1-FA (#7098)

Diffstat:
Msrc/reducer/anastasis_api_backup_redux.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/reducer/anastasis_api_backup_redux.c b/src/reducer/anastasis_api_backup_redux.c @@ -1738,6 +1738,11 @@ done_authentication (json_t *state, "'authentication_methods' must not be empty"); return NULL; case 1: + ANASTASIS_redux_fail_ (cb, + cb_cls, + TALER_EC_ANASTASIS_REDUCER_STATE_INVALID, + "Two factor authentication (2-FA) is required"); + return NULL; case 2: pb.req_methods = pb.num_methods; break;