mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
Redirect to /apps instead of /router after login and firstboot
This commit is contained in:
parent
ef01d89b0b
commit
64fa4189a9
@ -23,7 +23,7 @@
|
||||
{% block main_block %}
|
||||
|
||||
<p>Welcome screen not completely implemented yet. Press <a
|
||||
href="{{basehref }}/router">continue</a> to see the rest of the
|
||||
href="{{basehref }}/apps">continue</a> to see the rest of the
|
||||
web interface.</p>
|
||||
|
||||
<ul>
|
||||
|
||||
@ -70,7 +70,7 @@ class Root(plugin_mount.PagePlugin):
|
||||
cfg.log("First Boot state = %d" % db['state'])
|
||||
raise cherrypy.InternalRedirect('firstboot/state%d' % db['state'])
|
||||
if cherrypy.session.get(cfg.session_key, None):
|
||||
raise cherrypy.InternalRedirect('router')
|
||||
raise cherrypy.InternalRedirect('apps')
|
||||
else:
|
||||
raise cherrypy.InternalRedirect('help/about')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user