mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Option to hide Save Password
https://igniterealtime.org/issues/browse/SPARK-1640
This commit is contained in:
@ -397,7 +397,7 @@ public class LoginDialog {
|
||||
new GridBagConstraints(1, 1, 1, 1,
|
||||
1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
|
||||
new Insets(5, 5, 0, 5), 0, 0));
|
||||
|
||||
|
||||
add(passwordLabel,
|
||||
new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0,
|
||||
GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 5, 0, 5), 5, 0));
|
||||
@ -424,9 +424,11 @@ public class LoginDialog {
|
||||
add(headerLabel,
|
||||
new GridBagConstraints(0, 5, 2, 1, 1.0, 0.0,
|
||||
GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 0, 0));
|
||||
if(!Default.getBoolean("HIDE_SAVE_PASSWORD")) {
|
||||
add(savePasswordBox,
|
||||
new GridBagConstraints(1, 5, 2, 1, 1.0, 0.0,
|
||||
GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0));
|
||||
}
|
||||
add(autoLoginBox,
|
||||
new GridBagConstraints(1, 6, 2, 1, 1.0, 0.0,
|
||||
GridBagConstraints.EAST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0));
|
||||
|
||||
Reference in New Issue
Block a user