aboutsummaryrefslogtreecommitdiff
path: root/nexus
diff options
context:
space:
mode:
authorms <ms@taler.net>2021-09-17 18:13:01 +0200
committerms <ms@taler.net>2021-09-17 18:13:01 +0200
commitf58e802b4bdf3b31033314d1efad32a177e98b09 (patch)
tree629a14ca0c9fb3b8be4a8399f14865ce3a161fd3 /nexus
parentcd4053c769e751d8647a98e18c3cea8dd182362f (diff)
downloadlibeufin-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.kt2
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
}
}