Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #113 from communitiesuk/feature/BAU-log-user-on-su…
Browse files Browse the repository at this point in the history
…ccessful-submit

[BAU] log user on successful submission
  • Loading branch information
cyrusdobbs authored Nov 29, 2023
2 parents cb76a80 + 456ac8c commit 76a550b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def upload():
if success:
if Config.SEND_CONFIRMATION_EMAILS:
send_confirmation_emails(excel_file, metadata, user_email=g.user.email)
metadata["User"] = g.user.email
current_app.logger.info(f"Upload successful: {metadata}")
return render_template("success.html", file_name=excel_file.filename)
elif pre_errors:
Expand Down

0 comments on commit 76a550b

Please sign in to comment.