Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-22 05:10:29 +01:00
fix push device registration (#4297)
don't try to register a push device when the device is new it will be registered when the push token is saved fixes #4296
Dieser Commit ist enthalten in:
Ursprung
ad1d65bdf8
Commit
0b2383ab56
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
|
@ -268,7 +268,9 @@ async fn _password_login(
|
||||||
}
|
}
|
||||||
|
|
||||||
// register push device
|
// register push device
|
||||||
|
if !new_device {
|
||||||
register_push_device(&mut device, conn).await?;
|
register_push_device(&mut device, conn).await?;
|
||||||
|
}
|
||||||
|
|
||||||
// Common
|
// Common
|
||||||
// ---
|
// ---
|
||||||
|
|
Laden …
In neuem Issue referenzieren