chiark / gitweb /
pop up login box on startup if no password yet
[disorder] / disobedience / disobedience.c
index d6b346d05cdf9c1672c035c1946d080ef800b599..5efcc00c3d195b6a03041408e06259e7c03053ac 100644 (file)
@@ -492,6 +492,9 @@ int main(int argc, char **argv) {
   /* See if RTP play supported */
   check_rtp_address();
   suppress_actions = 0;
+  /* If no password is set yet pop up a login box */
+  if(!config->password)
+    login_box();
   D(("enter main loop"));
   MTAG("misc");
   g_main_loop_run(mainloop);