From fcf8d94de6171f9845126d4e971a2f161475f393 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Fri, 4 Nov 2022 10:39:26 +0100 Subject: save username permanently if remember is ticked --- .../main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/java/at/asit') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java index 4ddededf..ab179cf2 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java @@ -245,7 +245,7 @@ public class MobileBKUState extends State { public void rememberCredentialsIfNecessary(@Nullable String username, @Nullable String password) { if (getStateMachine().configProvider.getRememberMobilePassword()) { - getStateMachine().configProvider.setDefaultMobileNumberOverlay(username); + getStateMachine().configProvider.setDefaultMobileNumberPersistent(username); getStateMachine().configProvider.setDefaultMobilePasswordOverlay(password); } } -- cgit v1.2.3