gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] branch master updated: -deny 1-FA (#7098)


From: gnunet
Subject: [taler-anastasis] branch master updated: -deny 1-FA (#7098)
Date: Tue, 16 Nov 2021 14:37:35 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 157efff  -deny 1-FA (#7098)
157efff is described below

commit 157efff4973ed4e6837fabd5e7397cc6e578d9a0
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Nov 16 14:37:29 2021 +0100

    -deny 1-FA (#7098)
---
 src/reducer/anastasis_api_backup_redux.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/reducer/anastasis_api_backup_redux.c 
b/src/reducer/anastasis_api_backup_redux.c
index 17998ac..645970a 100644
--- 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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]