diff --git a/certweb/pubkeys.py b/certweb/pubkeys.py index 5fd2e71..5ca8191 100644 --- a/certweb/pubkeys.py +++ b/certweb/pubkeys.py @@ -23,7 +23,7 @@ def index(): ' JOIN user u ON p.user_id = u.id' ' ORDER BY deleted ASC, revoked ASC, p.created DESC' ).fetchall() - print(pubkeys[0]) + users = db.execute( 'SELECT * FROM user WHERE id = ?', (g.user['id'],) ).fetchone()