mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-18 21:00:56 +00:00
Share link expiration update and small fixes
This commit is contained in:
1 parent
1767ceee01
commit
8595e2a203
3 files changed
+9
-4
No files matched your search
@@ -76,6 +76,7 @@ def corpus(corpus_id):
|
||||
return redirect(url_for('.corpus', corpus_id=corpus.id))
|
||||
now = datetime.utcnow()
|
||||
payload = {
|
||||
'exp': now + timedelta(weeks=1),
|
||||
'iat': now,
|
||||
'iss': current_app.config['SERVER_NAME'],
|
||||
'sub': corpus.hashid
|
||||
|
||||
Reference in new issue
Block a user