mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
remove order line (we don't need it). Don't require auth for firstboot
This commit is contained in:
parent
f449b83ee5
commit
af650212ca
@ -9,7 +9,6 @@ from vendor.withsqlite.withsqlite import sqlite_db
|
|||||||
import cfg
|
import cfg
|
||||||
|
|
||||||
class FirstBoot(PagePlugin):
|
class FirstBoot(PagePlugin):
|
||||||
order = 0 # order of running init in PagePlugins
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
PagePlugin.__init__(self, *args, **kwargs)
|
PagePlugin.__init__(self, *args, **kwargs)
|
||||||
self.register_page("firstboot") # this is the url this page will hang off of (/firstboot)
|
self.register_page("firstboot") # this is the url this page will hang off of (/firstboot)
|
||||||
@ -19,7 +18,6 @@ class FirstBoot(PagePlugin):
|
|||||||
return self.state0(*args, **kwargs)
|
return self.state0(*args, **kwargs)
|
||||||
|
|
||||||
@cherrypy.expose
|
@cherrypy.expose
|
||||||
@require()
|
|
||||||
def state0(self, message=None, box_name=None, box_key=""):
|
def state0(self, message=None, box_name=None, box_key=""):
|
||||||
"""
|
"""
|
||||||
All the parameters are form inputs. They get passed in when
|
All the parameters are form inputs. They get passed in when
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user