Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecureRandom deprecation message #14

Closed
BogdanSV opened this issue Nov 21, 2011 · 2 comments
Closed

SecureRandom deprecation message #14

BogdanSV opened this issue Nov 21, 2011 · 2 comments

Comments

@BogdanSV
Copy link

Could you please replace ActiveSupport::SecureRandom with SecureRandom on this line: https://github.com/nov/rack-oauth2/blob/master/lib/rack/oauth2/access_token/mac.rb#L79? This is just to prevent the deprecation message (DEPRECATION WARNING: ActiveSupport::SecureRandom is deprecated! Use SecureRandom instead.) showing up again and again.

@nov nov closed this as completed in f8897b5 Nov 22, 2011
@nov
Copy link
Owner

nov commented Nov 22, 2011

OK, done.
I guess you are the first guy who uses MAC token, except for my sample MAC server ;)

@BogdanSV
Copy link
Author

Thanks ;)

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

No branches or pull requests

2 participants