summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c
index 3a0ed4a..a691607 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -113,6 +113,12 @@ void BarSettingsRead (BarSettings_t *settings) {
settings->lastfmPassword = strdup (val);
} else if (strcmp ("lastfm_scrobble_percent", key) == 0) {
settings->lastfmScrobblePercent = atoi (val);
+ } else if (strcmp ("disable_secure_login", key) == 0) {
+ if (strcmp (val, "1") == 0) {
+ settings->disableSecureLogin = 1;
+ } else {
+ settings->disableSecureLogin = 0;
+ }
}
}