Dmitrii Golub
972e455ab2
Merge pull request #156 from PrecisionNutrition/remove-spaces-from-otp-code
...
Strip Spaces from TOTP Code
6 years ago
Alaina Hardie
8887babd76
Strip Spaces from TOTP Code
...
Some users enter the TOTP code with a space, which breaks authentication. This strips the space from
the user-entered TOTP code and validates against it.
6 years ago
Dmitrii Golub
5cb982ad4b
Merge pull request #148 from actblue/rails_51
...
Replace `render :nothing` with `head`
6 years ago
Dmitrii Golub
dd2ccc8b43
Merge pull request #153 from GovSciences/active_record_fixes
...
Load ActiveRecord functionality only if ActiveRecord itself is loaded
6 years ago
Dmitrii Golub
05ee43cadb
Merge pull request #142 from rmm5t/improve-travis-matrix
...
Improve Travis build matrix; Better Rails 5 coverage
6 years ago
César Izurieta
b57edd59fa
Load ActiveRecord functionality only if ActiveRecord itself is loaded
6 years ago
Dmitrii Golub
e5aaf1603e
Bump to version 2.1.1
7 years ago
Dmitrii Golub
85460400f3
Merge pull request #149 from Laykou/patch-1
...
Fix integer to seconds in remember_otp_session_for_seconds
7 years ago
Ladislav Gallay
8b3c424a4a
Fix integer to seconds in remember_otp_session_for_seconds
7 years ago
Bill Kirtley
f448cc7db6
Replace `render :nothing` with `head`
...
fixes Houdini/two_factor_authentication#147
7 years ago
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
Ryan McGeary
f677f1fe30
Normalize migrations between Rails 4 and Rails 5
7 years ago
Ryan McGeary
6050115a2c
Made Rails 5.1 the "default" version of rails in Gemfile
7 years ago
Ryan McGeary
5bf0aaf114
Only run Ruby 2.2 against Rails 4
7 years ago
Ryan McGeary
f6b011d33d
Add Rails 5 support to specs
...
- Replace silence_stream with ActiveRecord::Migration.suppress_messages
- Resolve rspec-rails changes
7 years ago
Ryan McGeary
ce054cd001
Upgrade capybara for Rails 5 support
7 years ago
Ryan McGeary
bf37c45ccb
Enhance travis build matrix for supported Ruby and Rails versions
...
Also enables fast_finish
7 years ago
Ryan McGeary
ea27bcd960
Remove duplicate pry entry in Gemfile
...
It's already in gemspec
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