mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
typo
This commit is contained in:
parent
195901975f
commit
076448df98
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue