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 ability to resend code #52

Merged
merged 1 commit into from
Feb 14, 2016
Merged

Add ability to resend code #52

merged 1 commit into from
Feb 14, 2016

Conversation

iDiogenes
Copy link
Contributor

Added the ability for a user to resend the auth code from the two_factor_auth page.

@Houdini
Copy link
Owner

Houdini commented Aug 16, 2015

Thanks, could you please added some tests?

@iDiogenes
Copy link
Contributor Author

Yes. I should have time to take care of this toward the end of the week.

@@ -27,6 +27,11 @@ def update
end
end

def resend_code
resource.send_two_factor_authentication_code
redirect_to user_two_factor_authentication_path, notice: "Your authentication code has been sent."
Copy link
Collaborator

Choose a reason for hiding this comment

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

What do you think about localizing this notice, so that people can customize it?

@amandaporto
Copy link

Planning to merge this anytime soon?

Houdini added a commit that referenced this pull request Feb 14, 2016
Add ability to resend code
@Houdini Houdini merged commit 53b4a4b into Houdini:master Feb 14, 2016
@Houdini
Copy link
Owner

Houdini commented Feb 14, 2016

done

@monfresh
Copy link
Collaborator

monfresh commented Mar 9, 2016

@iDiogenes I know this has already been merged, but it would be great if you could please submit a new PR with tests for this. 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

Successfully merging this pull request may close these issues.

4 participants