From 076448df9826344b503ef16d24628961b8d28f3c Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Thu, 4 Jan 2024 13:26:39 +1300 Subject: [PATCH] typo --- app/auth/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/auth/routes.py b/app/auth/routes.py index 986b4401..775fc186 100644 --- a/app/auth/routes.py +++ b/app/auth/routes.py @@ -92,7 +92,7 @@ def register(): verification_token = random_token(16) form.user_name.data = form.user_name.data.strip() user = User(user_name=form.user_name.data, title=form.user_name.data, email=form.real_email.data, - verification_token=verification_token, instance=1, ipaddress=ip_address(), + verification_token=verification_token, instance=1, ip_address=ip_address(), banned=user_ip_banned() or user_cookie_banned()) user.set_password(form.password.data) db.session.add(user)