Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 0a3be0f

Browse files
committed
API change in Dalli v2.7 - see petergoldstein/dalli#424
1 parent 1f1e4fb commit 0a3be0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/openid/store/memcache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def use_nonce(server_url, timestamp, salt)
6666
if result.is_a? String
6767
return !!(result =~ /^STORED/)
6868
else
69-
return result == true
69+
return !!(result)
7070
end
7171
end
7272

0 commit comments

Comments
 (0)