summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 49914ba..fb9e02d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -267,8 +267,8 @@ int main (int argc, char **argv) {
BarTermSetBuffer (0);
BarUiMsg ("Login... ");
- if (PianoConnect (&ph, bsettings.username, bsettings.password) !=
- PIANO_RET_OK) {
+ if (PianoConnect (&ph, bsettings.username, bsettings.password,
+ !bsettings.disableSecureLogin) != PIANO_RET_OK) {
BarUiMsg ("Error.\n");
return 0;
} else {