mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix constant intent request code
only one passkey was used, even if the users selected another one for the same relying party.
This commit is contained in:
@@ -342,7 +342,7 @@ class PasskeyLauncherActivity : DatabaseModeActivity() {
|
||||
): PendingIntent? {
|
||||
return PendingIntent.getActivity(
|
||||
context,
|
||||
Math.random().toInt(),
|
||||
(Math.random() * Integer.MAX_VALUE).toInt(),
|
||||
Intent(context, PasskeyLauncherActivity::class.java).apply {
|
||||
addSpecialMode(specialMode)
|
||||
addTypeMode(TypeMode.PASSKEY)
|
||||
|
||||
Reference in New Issue
Block a user