Commit 00cac240 authored by okhin's avatar okhin
Browse files

Slight update on the template - no need for token anymore

parent 40ce9fa1
......@@ -485,7 +485,7 @@ def little_admin():
db = sqlite3.connect(config['piphone']['db'])
# We need to check if we're admin
users = db.execute('SELECT api, token, admin FROM users').fetchall()
return template('index', users=users, token=request.params['token'])
return template('index', users=users)'/admin')
......@@ -62,8 +62,6 @@
<div class="panel-body">
<form name="action2" class="form form-vertical" action="admin" method="post">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="api" value="{{api}}">
<div class="control-group">
<div class="controls">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment