88 Commits (20544c77737c3cd6fa69a817d04a17e92bb3d983)

Author SHA1 Message Date
Jasper van den Berg 8f9377b28f Use ROTP::Base32.random instead of ROTP::Base32.random_base32 if available 6 years ago
Dmitrii Golub f9042487e8 bump version to 2.2.0 6 years ago
Andrés Riveros d462080c47 fix rotp 4 breaking authenticate totp 6 years ago
Alaina Hardie 8887babd76 Strip Spaces from TOTP Code 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
Bill Kirtley f448cc7db6 Replace `render :nothing` with `head` 7 years ago
Dmitrii Golub 0cad30df20 Bump to version 2.1.0 7 years ago
Kevin Robatel a9e9093de8
Return JSON with 'redirect_to' when handle_failed_second_factor 7 years ago
Ryan McGeary 91e8eb40d7 Delegate logic of send_new_otp to user#send_new_otp_after_login? 7 years ago
Dmitrii Golub 9c1af25aad Bump to version 2.0.1 8 years ago
Leandro Marcucci 38803d82b3 Makes encrypt/decrypt method names unique: 8 years ago
newtrat 68f407c632 Fix OpenSSL deprecation warning 8 years ago
Tigran Apoyan a32f71a534 Update two_factor_authenticatable.rb 8 years ago
Benjamin Wols d1e1a663cd Access config via Devise instead user.class 8 years ago
Benjamin Wols 41a01acd85 Fix merge conflict 8 years ago
Konrad Jurkowski 234f622f09 Removed unnecessary comma that made it impossible to sign in via cookie 8 years ago
Konrad Jurkowski 198ef91997 Allow to customize value passed to 2fa remember cookie 8 years ago
Sam Clegg 2df6fa2481 Prevent reuse of TOTP codes (#94) 8 years ago
Sam Clegg 56f099da28 Bump version 1.1.5 -> 2.0.0 8 years ago
Sam Clegg 60ce5f1e63 Remove #reset_otp_state hook (#91) 8 years ago
Sam Clegg 1a27f42140 Fix crash in warden hook 9 years ago
Sam Clegg 06c67df575 Seperate totp secret generation from confirmation 9 years ago
Sam Clegg eed1bf62a1 Add support for directly delivered OTP codes 9 years ago
Moncef Belyamani c684db2330 Drop support for Rails 3.2 9 years ago
Marc Lennox fd7e18c2ea Removed Rails 5 deprecation warnings 9 years ago
Moncef Belyamani 157746a03e Fix class detection in reset_otp_state_for(user) 9 years ago
Dmitrii Golub 1b7e67e1ef v1.1.5 9 years ago
Dmitrii Golub bdb89e50f8 fix: different cookies for different users 9 years ago
Moncef Belyamani d2b6d39d24 Add support for OTP secret key encryption 9 years ago
Dmitrii Golub 40c243cc53 Stamp 1.1.4 9 years ago
Moncef Belyamani 4d0acf1ddd Allow executing code after sign in and before sign out 9 years ago
Kopylov German 49c41a87dc Move require rotp library to the file where it is used 9 years ago
Paul Bowsher 8d4da3beb5 Add support for remembering a user's 2FA session in a cookie 9 years ago
JD Trout 14adcce362 Add ability to resend code 10 years ago
Dave Riess 10e0ebbd9d replace request.path + '?' + request.query_string with request.original_fullpath in order to avoid appending '?' to redirects that have no query string 10 years ago
Dmitrii Golub 2e18e6ccb9 update version to 1.1.3 10 years ago
amoose 3076c6053b Allows otp_length to be configurable 10 years ago
Albert J. Wong 677cb78d5f Preserve query parameters in _return_to for redirect. 10 years ago
Jack Turnbull 94dcc19e99 Add file extension to ActiveRecord generator 10 years ago
Dmitrii Golub 1e4a8b13ef update version to 1.1.2 11 years ago
Laust Rud Jacobsen 20703c0397 Warden hook: refactor to not perform inline assignment for clarity 11 years ago
Laust Rud Jacobsen c87d591541 Extract reused Warden key constant 11 years ago
Dmitrii Golub 28f9f6f8d9 new version 1.1.1 11 years ago
Karol Sarnacki f3a39237fa Use Strings and not Symbols for keys when storing variable in warden session 11 years ago
Johan Brissmyr 29bddf19f6 Pad OTP codes with less than 6 digits 11 years ago
Dmitrii Golub d7599a8838 version 1.1 11 years ago
Edger a8cea83253 is_fully_authenticated helper 11 years ago
Ross Kaffenberger bb1a619a3c ensure return_to location is properly stored 11 years ago
Ross Kaffenberger 153a4531ca extract method #max_login_attempts 11 years ago