Merge branch 'master' into next
This commit is contained in:
commit
266ef66a6f
|
@ -33,7 +33,7 @@ class UserLoginStageView(StageView):
|
||||||
backend=backend,
|
backend=backend,
|
||||||
)
|
)
|
||||||
delta = timedelta_from_string(self.executor.current_stage.session_duration)
|
delta = timedelta_from_string(self.executor.current_stage.session_duration)
|
||||||
if delta.seconds == 0:
|
if delta.total_seconds() == 0:
|
||||||
self.request.session.set_expiry(0)
|
self.request.session.set_expiry(0)
|
||||||
else:
|
else:
|
||||||
self.request.session.set_expiry(delta)
|
self.request.session.set_expiry(delta)
|
||||||
|
|
Reference in New Issue