Skip to content

Commit

Permalink
Merge pull request #445 from rabbit-aaron/patch-1
Browse files Browse the repository at this point in the history
Update views.py (fix comment)
  • Loading branch information
akatsoulas committed May 27, 2022
2 parents 4726127 + 8af94e8 commit 5ce9620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mozilla_django_oidc/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def login_success(self):
auth.login(self.request, self.user)

# Figure out when this id_token will expire. This is ignored unless you're
# using the RenewIDToken middleware.
# using the SessionRefresh middleware.
expiration_interval = self.get_settings('OIDC_RENEW_ID_TOKEN_EXPIRY_SECONDS', 60 * 15)
self.request.session['oidc_id_token_expiration'] = time.time() + expiration_interval

Expand Down

0 comments on commit 5ce9620

Please sign in to comment.