From fbfc0d36dbb43806963d09853a304fd162b3f936 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 6 Sep 2021 04:59:59 +0200 Subject: [PATCH] fd --- files/routes/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 0c354d2f5..bac91253b 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -659,7 +659,7 @@ def unshadowban(user_id, v): @validate_formkey def verify(user_id, v): user = g.db.query(User).filter_by(id=user_id).first() - user.verified = True + user.verified = "Verified" g.db.add(user) return "", 204 @@ -668,7 +668,7 @@ def verify(user_id, v): @validate_formkey def unverify(user_id, v): user = g.db.query(User).filter_by(id=user_id).first() - user.verified = False + user.verified = None g.db.add(user) return "", 204