aboutsummaryrefslogtreecommitdiff
path: root/gn_auth
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/auth/authorisation/users/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/users/models.py b/gn_auth/auth/authorisation/users/models.py
index ef3ce7f..cc9a4f9 100644
--- a/gn_auth/auth/authorisation/users/models.py
+++ b/gn_auth/auth/authorisation/users/models.py
@@ -54,7 +54,7 @@ def __list_user_clauses_and_params__(**kwargs) -> tuple[list[str], dict[str, Uni
if bool(kwargs.get("verified", "").strip()):
clauses = clauses + ["verified=:verified"]
- params["verified"] = 1 if kwargs["verified"].strip() == "yes" else "no"
+ params["verified"] = 1 if kwargs["verified"].strip() == "yes" else 0
if bool(kwargs.get("age", "").strip()):
_clause, _param = __process_age_clause__(kwargs["age"].strip())