Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
varmar05 committed Jan 9, 2025
1 parent 73d45c5 commit 61313dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mergin/auth/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def create_user():
)

# in public endpoint we want to disable form csrf - for browser clients endpoint is protected anyway
form = UserRegistrationForm(meta={'csrf': False})
form = UserRegistrationForm(meta={"csrf": False})
form.confirm.data = form.password.data
form.username.data = username
if not form.validate():
Expand Down

0 comments on commit 61313dc

Please sign in to comment.