diff options
author | ms <ms@taler.net> | 2021-09-17 18:13:01 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2021-09-17 18:13:01 +0200 |
commit | f58e802b4bdf3b31033314d1efad32a177e98b09 (patch) | |
tree | 629a14ca0c9fb3b8be4a8399f14865ce3a161fd3 /nexus | |
parent | cd4053c769e751d8647a98e18c3cea8dd182362f (diff) | |
download | libeufin-f58e802b4bdf3b31033314d1efad32a177e98b09.tar.gz libeufin-f58e802b4bdf3b31033314d1efad32a177e98b09.tar.bz2 libeufin-f58e802b4bdf3b31033314d1efad32a177e98b09.zip |
same, at Nexus
Diffstat (limited to 'nexus')
-rw-r--r-- | nexus/src/main/kotlin/tech/libeufin/nexus/Auth.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Auth.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Auth.kt index 639abb37..447754d9 100644 --- a/nexus/src/main/kotlin/tech/libeufin/nexus/Auth.kt +++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Auth.kt @@ -28,7 +28,7 @@ fun authenticateRequest(request: ApplicationRequest): NexusUserEntity { LibeufinErrorCode.LIBEUFIN_EC_AUTHENTICATION_FAILED ) } - CryptoUtil.checkPwOrThrow(password, username) + CryptoUtil.checkPwOrThrow(password, user.passwordHash) user } } |