This PR fixes the competition moderation email templates in order to show information regarding the current user.
The underlying problem was a misuse of django's blocktrans block, which requires aliasing complex variables in order for them to be available inside the block.
This PR also includes an update to the oidchooks.update_user_details function that is now updating a user's name fields (username, first_name, last_name) in addition to the email address from keycloak. This improves synchronization between django and Keycloak.
This PR fixes the competition moderation email templates in order to show information regarding the current user.
The underlying problem was a misuse of django's
blocktrans
block, which requires aliasing complex variables in order for them to be available inside the block.This PR also includes an update to the
oidchooks.update_user_details
function that is now updating a user's name fields (username, first_name, last_name) in addition to the email address from keycloak. This improves synchronization between django and Keycloak.fixes #203