diff options
author | Magnus Hagander | 2021-07-10 21:21:24 +0000 |
---|---|---|
committer | Magnus Hagander | 2021-07-10 21:21:24 +0000 |
commit | 10b10a8ebb0e1abdacce265998885de752da9a80 (patch) | |
tree | 9fd5428672780e1d07ad96a26e7d732cf281e185 /postgresqleu/confreg/util.py | |
parent | 0d5dde29996220ee62a708b30369819c7017af49 (diff) |
Implement conference JWT tokens
This allows an external site to integrate with the conference
registration system. All things around registration and possible
payments can be done on the regular site. An URL is then exposed where a
lgoged in user can get a token which in turn can be used by an external
app to request a signed JWT with information about the registration.
Diffstat (limited to 'postgresqleu/confreg/util.py')
-rw-r--r-- | postgresqleu/confreg/util.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/postgresqleu/confreg/util.py b/postgresqleu/confreg/util.py index 92c7dfbf..25ae4575 100644 --- a/postgresqleu/confreg/util.py +++ b/postgresqleu/confreg/util.py @@ -418,6 +418,10 @@ def get_conference_or_404(urlname): return conference +def activate_conference_timezone(conference): + timezone.activate(conference.tzname) + + def send_conference_notification(conference, subject, message): if conference.notifyaddr: send_simple_mail(conference.notifyaddr, |