Update dashboard.py
This commit is contained in:
parent
c562f9481d
commit
bad42e8e48
|
|
@ -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…
Reference in New Issue