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
Dmitrii Golub
55f27d5822
Merge pull request #89 from sbc100/fix_nil_exception
...
Fix crash in warden hook
9 years ago
Sam Clegg
1a27f42140
Fix crash in warden hook
...
It seems that in some cases `action_dispatch.cookies` is not
set in the environment during the `after_authentication`
hook.
9 years ago
Dmitrii Golub
9d7d3472f4
Merge pull request #84 from sbc100/direct_codes
...
Add support for directly delivered OTP codes
9 years ago
Sam Clegg
06c67df575
Seperate totp secret generation from confirmation
...
For most use cases the totp secret needs to be transmitted
to the end user so it its helpful to be able to generate
it, before confirming it.
9 years ago
Sam Clegg
eed1bf62a1
Add support for directly delivered OTP codes
...
Direct OTP codes are ones that are delivered directly to
the user (e.g. SMS) via send_two_factor_authentication_code.
These are randomly generated, short lived, and stored
directly in the database.
TOTP (and the rotp gem) is now only enabled for those user
that have a shared secret (user.create_otp_secret).
9 years ago
Moncef Belyamani
ba8cfdeffe
Merge pull request #86 from monfresh/fix-before-filter-logic
...
Drop support for Rails 3.2
9 years ago