lib/global_session/session/v1.rb in global_session-3.2.9 vs lib/global_session/session/v1.rb in global_session-3.2.10
- old
+ new
@@ -64,10 +64,10 @@
hash = {'id' => @id,
'tc' => @created_at.to_i, 'te' => @expired_at.to_i,
'ds' => @signed}
- if @signature && !@dirty_secure
+ if @signature && !(@dirty_timestamps || @dirty_secure)
#use cached signature unless we've changed secure state
authority = @authority
else
authority_check
authority = @directory.local_authority_name