Skip to content

Verify if verify is truthy (not just true)#17

Merged
progrium merged 1 commit into
jwt:masterfrom
threedaymonk:truthiness
Mar 13, 2013
Merged

Verify if verify is truthy (not just true)#17
progrium merged 1 commit into
jwt:masterfrom
threedaymonk:truthiness

Conversation

@threedaymonk

Copy link
Copy Markdown
Contributor

Previously, verification was carried out only if verify == true, rather than any non-false, non-nil value, as is conventional in Ruby.

This made it perilously easy to skip verification by accident.

Previously, verification was carried out only if verify was true, rather
than any non-false, non-nil value, as is conventional in Ruby.

This made it perilously easy to skip verification by accident.
progrium added a commit that referenced this pull request Mar 13, 2013
Verify if verify is truthy (not just true)
@progrium progrium merged commit f7e7337 into jwt:master Mar 13, 2013
@progrium

Copy link
Copy Markdown
Contributor

Can you also open an issue to release an update gem and add you to contributor list.

@threedaymonk threedaymonk mentioned this pull request Mar 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants