fix key comparison type

This commit is contained in:
Adam Velebil 2024-03-01 09:20:41 +01:00
parent dc5acbfe68
commit 1633b4e8b0
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -26,6 +26,7 @@ import com.yubico.authenticator.device.Info
import com.yubico.authenticator.device.UnknownDevice
import com.yubico.authenticator.fido.data.FidoCredential
import com.yubico.authenticator.fido.data.Session
import com.yubico.authenticator.fido.data.SessionInfo
import com.yubico.authenticator.fido.data.YubiKitFidoSession
import com.yubico.authenticator.setHandler
import com.yubico.authenticator.yubikit.getDeviceInfo
@ -196,7 +197,7 @@ class FidoManager(
}
val previousSession = fidoViewModel.sessionState.value?.info
val currentSession = fidoSession.cachedInfo
val currentSession = SessionInfo(fidoSession.cachedInfo)
logger.debug(
"Previous session: {}, current session: {}",
previousSession,