Redirect to /apps instead of /router after login and firstboot

This commit is contained in:
Sunil Mohan Adapa 2014-06-01 14:46:36 +05:30
parent ef01d89b0b
commit 64fa4189a9
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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')