mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
networks: If topology wizard is skipped, skip router wizard too
If the user chooses to skip the network topology wizard, then there is no need to show the router configuration wizard step. Skip it. We may want to skip other wizard step too. However, those can be dealt later. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
ba6f461ece
commit
2238352e45
@ -448,6 +448,7 @@ class NetworkTopologyFirstBootView(NetworkTopologyView):
|
||||
"""Mark the first wizard step as done, save value and redirect."""
|
||||
first_boot.mark_step_done('network_topology_wizard')
|
||||
if 'skip' in form.data:
|
||||
first_boot.mark_step_done('router_setup_wizard')
|
||||
return FormView.form_valid(self, form)
|
||||
|
||||
return super().form_valid(form)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user