opentechinstitute/luci-commotion — pull request #169 by elationfoundation (2014-02-21 19:30:40+00:00)
Title: Fix for Issue 143. Secondary check to ensure setup wizard is disabled.

Modified the root level node that the login page redirects to. It is now a function that first checks for, and if on removes, the setup wizard flag. After the check the function then redirects to the default status page.
https://github.com/opentechinstitute/luci-commotion/issues/143

Testing Instructions for this pull request.

Test #1
* Flash a router with this branch of luci-commotion
* During setup wizard, at any point, click on the advanced button in the footer
* Once logged in, there should be a "basic configuration" side menu.
* If the basic config menu is missing then the patch did not work.

Test #2
* Reflash router to its default state (Or just change the enabled flag in /etc/config/setup_wizard to "1"
* Complete the setup wizard.
* When the node is running its "applying" animation click the finish button as soon as possible.
* This will skip the old setup wizard check and take you to the login page.
* Once logged in, there should be a "basic configuration" side menu.
* If the basic config menu is missing then the patch did not work.