lib/gds-sso/warden_config.rb in gds-sso-19.0.0 vs lib/gds-sso/warden_config.rb in gds-sso-19.1.0

- old
+ new

@@ -27,10 +27,10 @@ auth_timestamp = nil end end if auth_timestamp && ((auth_timestamp + GDS::SSO::Config.auth_valid_for) > Time.now.utc) - GDS::SSO::Config.user_klass.where(uid: uid, remotely_signed_out: false).first + GDS::SSO::Config.user_klass.where(uid:, remotely_signed_out: false).first end end Warden::Strategies.add(:gds_sso) do def valid?