nodogsplash: fix enable UsernameAuthentication
[lede-routing/.git] / nodogsplash / files / nodogsplash.init
index 0712fa9ef130af71b93166d506d86a88f6fcebf8..40e59f7a87902c145cd40257cb5e8d2693906c0b 100755 (executable)
@@ -69,7 +69,7 @@ setup_user_authentication() {
 
   config_get val "$cfg" username
   if [ -n "$val" ] ; then
-    echo "UsernameAuthentication" >> $CONFIGFILE
+    echo "UsernameAuthentication 1" >> $CONFIGFILE
     echo "Username $val" >> $CONFIGFILE
   fi