From 56694d937f1fd214bf1b308d5b211d107b14fde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ku=C5=BE=C3=ADlek?= Date: Sun, 3 May 2020 16:01:21 +0200 Subject: [PATCH] Oh lol - manage script set admin as admin :D --- manage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage.sh b/manage.sh index 9b193fd..4734a24 100755 --- a/manage.sh +++ b/manage.sh @@ -31,7 +31,7 @@ prepare_db() { prepare_accounts() { $run flask shell << EOF -user = User(username='admin') +user = User(username='admin', op_level='admin') user.create_password('latexsucks') db.session.add(user) db.session.commit()