Skip to content
Snippets Groups Projects
Commit 44089847 authored by kaiyou's avatar kaiyou
Browse files

Fix an issue when pushing lazystrings to database

parent 3bf4645b
No related branches found
No related tags found
1 merge request!20Add 'remember me' button
Pipeline #681 passed
......@@ -43,7 +43,7 @@ def signup():
models.db.session.add(user)
models.db.session.add(auth)
models.log(models.History.SIGNUP,
comment=_("Signed up using the Web form"), user=user)
comment=str(_("Signed up using the Web form")), user=user)
models.db.session.commit()
flask.flash(_("User created successfully"), "success")
return flask.redirect(utils.url_or_intent("account.home"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment