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

Add generators to make it easier to install and fix deprecation warnings #2

Merged
merged 11 commits into from
May 17, 2012

Conversation

carvil
Copy link
Contributor

@carvil carvil commented May 1, 2012

Hi,

I have been working a bit in this project and made a few changes that I would like to submit:

  • Fixes the ActiveSupport::Concern deprecation warning "The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically."
  • Adds generator, which will automatically add two_factor_authentication to a model and also generate the migration
  • Updated the README with the newest changes.

Do you agree with these changes?

Also, are you planning to release the gem, or will you keep it only on github?

Thanks.

Houdini added a commit that referenced this pull request May 17, 2012
Add generators to make it easier to install and fix deprecation warnings
@Houdini Houdini merged commit e9351da into Houdini:master May 17, 2012
@Houdini
Copy link
Owner

Houdini commented May 17, 2012

I like your changes,
thanks a lot

filipeperdigaosousa pushed a commit to filipeperdigaosousa/two_factor_authentication that referenced this pull request Nov 12, 2018
* Add compat with older versions of devise

* Update to new ruby syntax and styleguide

* Update for style guides

* Add new and create method to add a totp code via QR

* Add issuer to config to set issuer via provisioning_uri

* Add db column for otp enabled status

* Change routing by adding verify path and using edit/update to disable otp

* Update creating and updating otp on user

* Add routing to new_user_two_factor_authentication if otp is not enabled but is tfa is needed

* Rename set_qr method and remove unused settings

* Add enable, confirm and disable methods

* Updat readme for new functionalities

* Add view generator and documentate in readme

* Update test for new database field

* Remove issuer option

* Update controller spec for verify route instead of update

* Fix test for added otp_enabled attribute

* Add feature and controller tests

* Refactor routes resources

* [PR Feedback] Use Devise::Version over respond_to?

* Fix test for new otp_enabled field

* Add notice for successful disable of tfa

* Save changes after enabling and disabling otp

* Remove commented code

* Update edit view
newstler pushed a commit to CPInc/two_factor_authentication that referenced this pull request Mar 10, 2021
…ween-cookie-styles

Make it more graceful switching between multi user and not
vicomte referenced this pull request in vicomte/two_factor_authentication Aug 15, 2022
Show authentication type in the json response when 2fa required
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