gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: password hash check: fix parameters or


From: gnunet
Subject: [libeufin] branch master updated: password hash check: fix parameters order
Date: Fri, 17 Sep 2021 17:58:27 +0200

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new cd4053c  password hash check: fix parameters order
cd4053c is described below

commit cd4053c769e751d8647a98e18c3cea8dd182362f
Author: ms <ms@taler.net>
AuthorDate: Fri Sep 17 17:58:02 2021 +0200

    password hash check: fix parameters order
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Auth.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Auth.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Auth.kt
index b86bdf7..8368dc7 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Auth.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Auth.kt
@@ -29,7 +29,7 @@ fun authenticateRequest(request: ApplicationRequest): 
SandboxUserEntity {
                 LibeufinErrorCode.LIBEUFIN_EC_AUTHENTICATION_FAILED
             )
         }
-        CryptoUtil.checkPwOrThrow(password, username)
+        CryptoUtil.checkPwOrThrow(password, user.passwordHash)
         user
     }
 }

-- 
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]