Dmitrii Golub
0cad30df20
Bump to version 2.1.0
7 years ago
Dmitrii Golub
6e24299362
Merge pull request #141 from rmm5t/delegate-send-new-otp-logic-to-user-model
...
Delegate logic of whether to send_new_otp to user#send_new_otp_after_login? method
7 years ago
Ryan McGeary
91e8eb40d7
Delegate logic of send_new_otp to user#send_new_otp_after_login?
...
Instead of keeping this logic nested in the Warden hook, call a method on the
user object to determine if a new OTP code should be delivered.
7 years ago
Dmitrii Golub
9bb3e65ef8
Merge pull request #109 from benjaminwols/delete-cookie-on-logout
...
Delete cookie on logout
7 years ago
Dmitrii Golub
f59001c563
Merge pull request #130 from poctek/patch-3
...
Update README.md
7 years ago
Rostislav Katin
5865994f81
Update README.md
7 years ago
Dmitrii Golub
d43c7d8aff
Merge pull request #125 from jskirst/scopeable-view
...
dynamically generate path based on resource scope
8 years ago
Dmitrii Golub
9c1af25aad
Bump to version 2.0.1
8 years ago
Dmitrii Golub
0df4c17ddc
Merge pull request #126 from leanucci/encryption_methods_unique_names
...
Makes encrypt/decrypt method names unique:
8 years ago
Leandro Marcucci
38803d82b3
Makes encrypt/decrypt method names unique:
...
This is an attempt to play nice with other gems that might define
methods that encrypt or decrypt data in a model.
8 years ago
Jonathan Kirst
93674d2aea
dynamically generate path based on resource scope
8 years ago
Dmitrii Golub
20c9d14dd1
Merge pull request #114 from newtrat/fix-test-and-deprecations
...
Fix test and deprecations
8 years ago
Dmitrii Golub
13ea083f7d
Merge pull request #122 from edsimpson/otp-secret-key-not-needed-doc-change
...
Doc change re otp_secret_key for version 1 to 2 upgrade
8 years ago
Edward Simpson
21236609b2
Doc change re otp_secret_key for version 1 to 2 upgrade
...
Resource attribute otp_secret_key only needs a value if the user
requires a TOTP value.
8 years ago
Dmitrii Golub
96abae0a30
fix test in models/two_factor_authenticatable_spec.rb
8 years ago
Dmitrii Golub
6cf659a88a
Merge pull request #120 from rmm5t/patch-1
...
Switch badges to vector in README
8 years ago
Ryan McGeary
4419777691
Switch badges to vector in README
...
Low-res raster makes eyes bleed on retina displays 😎
[skip ci]
8 years ago
Dmitrii Golub
82fb6b192c
Merge pull request #115 from pstaender/master
...
Check and use if newer bypass_sign_in method exists in devise
8 years ago
Philipp Staender
0d9bc8da0e
Check and use if newer bypass_sign_in method exists in devise
8 years ago
newtrat
57517e5a05
Add new encryption algorithm to Encryptor test
...
Since now always includes ,
the test for passing the correct options to Encryptor should also include
that option.
8 years ago
newtrat
68f407c632
Fix OpenSSL deprecation warning
...
OpenSSL::Cipher::Cipher has been deprecated in favor of OpenSSL::Cipher
8 years ago
Dmitrii Golub
40fb11b069
Merge pull request #111 from apoyan/master
...
Update two_factor_authenticatable.rb
8 years ago
Tigran Apoyan
a32f71a534
Update two_factor_authenticatable.rb
8 years ago
Dmitrii Golub
7d99a6cb3f
Merge pull request #110 from shaunakpp/docs
...
Fixes a minor typo in the README.md
8 years ago
shaunakpp
d87b7b31c6
README typo fix[ci skip]
8 years ago
Dmitrii Golub
d0d42e565a
Merge pull request #95 from sbc100/bump_version
...
Bump version 1.1.5 -> 2.0.0
8 years ago
Benjamin Wols
d1e1a663cd
Access config via Devise instead user.class
8 years ago
Benjamin Wols
a97b3f6e41
Update readme
8 years ago
Benjamin Wols
4cc5762e83
Add test for deleting cookie on logout
8 years ago
Benjamin Wols
41a01acd85
Fix merge conflict
8 years ago
Dmitrii Golub
0f40c79bf2
Merge pull request #107 from gaurish/master
...
Add compat with older versions of devise
8 years ago
Gaurish Sharma
348c2a1cce
[PR Feedback] Use Devise::Version over respond_to?
8 years ago
Gaurish Sharma
ffbad70848
Add compat with older versions of devise
8 years ago
Dmitrii Golub
65421f8839
Merge pull request #106 from gaurish/patch-1
...
Stop hardcoding User, use generic resource
8 years ago
Gaurish Sharma
5b81724c01
Stop hardcoding User, use generic resource
...
User can also be called Admin. so use generic "resource" same way devise uses.
8 years ago
Dmitrii Golub
ed343cd20a
Merge pull request #100 from msx2/custom-resource-id-field
...
Fixed sign in via remember 2fa cookie
8 years ago
Konrad Jurkowski
234f622f09
Removed unnecessary comma that made it impossible to sign in via cookie
8 years ago
Dmitrii Golub
9c7dff84c6
Merge pull request #99 from msx2/custom-resource-id-field
...
Custom resource id field
8 years ago
Konrad Jurkowski
8da2d4a099
Update README: add second_factor_resource_id
8 years ago
Konrad Jurkowski
a96352315a
Keep method name in convention
8 years ago
Konrad Jurkowski
198ef91997
Allow to customize value passed to 2fa remember cookie
8 years ago
Dmitrii Golub
73815c0c51
Merge pull request #96 from amoose/fix/deprecations
...
Updates deprecated Devise methods
8 years ago
amoose
8908b47113
Updates deprecated Devise methods
8 years ago
Sam Clegg
2df6fa2481
Prevent reuse of TOTP codes ( #94 )
...
This change updates the rotp version which now includes support
for preventing TOTP code reuse via tracking the timestamp
of the last used code.
8 years ago
Sam Clegg
56f099da28
Bump version 1.1.5 -> 2.0.0
...
There have been a couple of recent breaking changes
so bumping the major version is required.
8 years ago
Dmitrii Golub
1d6abe30a6
Merge pull request #93 from apoyan/master
...
set correct devise scope
8 years ago
Tigran Apoyan
838173a881
set correct devise scope
8 years ago
Sam Clegg
60ce5f1e63
Remove #reset_otp_state hook ( #91 )
...
This feature was added so enable and unconfirmed mobile
phone number to be used for OTP purposes and have that
number removed at the start or end of a new session.
However, a simpler way do this would be to simply store
the unconfirmed mobile in the #user_session. Indeed
that is what we are now doing in 18F identity project
which uses this gem:
https://github.com/18F/identity-idp/pull/220
8 years ago
Dmitrii Golub
c3691f1a96
Merge pull request #90 from AubinWinddle/fix_attempt_fail_message
...
Fix set_flash_message for :attempt_failed
9 years ago
Aubin LORIEUX
b78d221f37
Fix set_flash_message for :attempt_failed
9 years ago