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

Update README to include info on using github repo as gem source. #105

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gbrl
Copy link

@gbrl gbrl commented Oct 28, 2016

No description provided.

I struggled getting this gem working until I realized that I had to use the github repo as my gem src. So I updated the README.md file accordingly. Please modify it as you see fit.
@maschwenk
Copy link

This fixes my issues running 1.1.4+ in Rails >= 5. Any plans for this to be merged?

@@ -7,7 +7,7 @@

if user.respond_to?(:need_two_factor_authentication?) && !bypass_by_cookie
if auth.session(options[:scope])[TwoFactorAuthentication::NEED_AUTHENTICATION] = user.need_two_factor_authentication?(auth.request)
user.send_new_otp unless user.totp_enabled?
user.send_new_otp

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why has this changed? What about Google Authenticator users?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, misunderstanding. All good 👍

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.

None yet

4 participants