Update dashboard.py

pull/632/head
Mr Chen 5 months ago
parent c562f9481d
commit bad42e8e48
  1. 1
      web/admin/dashboard/dashboard.py

@ -66,7 +66,6 @@ def admin_safe_path(path):
name = thisdb.getOption('template', default='default')
if isLogined():
return redirect('/')
# print(db_path,path)
if db_path == path:
return render_template('%s/login.html' % name)

Loading…
Cancel
Save