Close autofill window when systemauth denied

This commit is contained in:
Bernd Schoolmann 2023-12-27 20:30:08 +01:00
parent 3216f2dbd9
commit 768f8b252f
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class MyApp(Adw.Application):
self.autofill_window.present() self.autofill_window.present()
logins = goldwarden.get_vault_logins() logins = goldwarden.get_vault_logins()
if logins == None: if logins == None:
os._exit(0)
return return
app.autofill_window.logins = logins app.autofill_window.logins = logins