diff --git a/trurt/account/profiles.py b/trurt/account/profiles.py index 6ac27d8b4f2ecbc9d7ea7e856ffb0584bdce8740..8e5a8afac285a4fc2a93044abb1a5e0b97efc575 100644 --- a/trurt/account/profiles.py +++ b/trurt/account/profiles.py @@ -55,6 +55,7 @@ def create_profile(): profile.service = service profile.comment = form.comment.data models.db.session.add(profile) + models.log(models.History.CREATE, profile.username, profile.comment) models.db.session.commit() return flask.redirect(utils.url_or_intent("account.home")) return flask.render_template("profile_create.html",