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
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
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
Moncef Belyamani
b18fd2a4e6
Merge pull request #88 from monfresh/remove-bundler-audit
...
Remove bundler-audit from .codeclimate.yml
9 years ago
Moncef Belyamani
b327528da3
Remove bundler-audit from .codeclimate.yml
...
**Why**: `bundler-audit` requires `Gemfile.lock` to be checked in, but it is gitignored on purpose in this repo. Enabling bundler-audit causes the Code Climate check to fail, but then seems to also prevent the rest of the engines from running.
9 years ago
Moncef Belyamani
55934a1164
Merge pull request #87 from monfresh/add-rubocop
...
Add .rubocop.yml and .codeclimate.yml
9 years ago
Moncef Belyamani
8d1404d7a3
Add .rubocop.yml and .codeclimate.yml
...
**Why**:
To specify which Code Climate engines to run, and which Rubocop rules to follow.
9 years ago
Moncef Belyamani
30a0442f3b
Merge pull request #47 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
9 years ago
Moncef Belyamani
c684db2330
Drop support for Rails 3.2
...
**Why**: To be able to support Rails 5 without deprecation warnings,
we need to replace `before_filter` with `before_action`.
`before_action` is not supported in Rails 3.2, so we need to bump the
major version number since this will be a breaking change for people
who can't upgrade Rails.
9 years ago
Moncef Belyamani
ccbf832b78
Merge pull request #85 from sbc100/remove_ruby_2_0
...
Remove ruby 2.0 from travis build matrix
9 years ago
Sam Clegg
f6ac2177cc
Remove ruby 2.0 from travis build martix
...
The latest version of devise requires ruby >= 2.1.
This change removes 2.0 from the test matrix and adds 2.3.
9 years ago
Dmitrii Golub
abc06c3a17
Merge pull request #80 from Surzhko/master
...
replaced flash :error key with :alert
9 years ago
Eugene Surzhko
9fd666ce04
fixed spec with provisioning_uri
9 years ago
Eugene Surzhko
5c66499bb1
replaced flash :error key with :alert
9 years ago
Dmitrii Golub
6245f9d07c
Merge pull request #79 from tenstartups/master
...
Removed Rails 5 deprecation warnings
9 years ago
Marc Lennox
fd7e18c2ea
Removed Rails 5 deprecation warnings
9 years ago
Dmitrii Golub
675f651929
Merge pull request #73 from jlhonora/master
...
Spanish translation
9 years ago
jlhonora
67b29bf028
Spanish translation
9 years ago
Moncef Belyamani
35450c10e1
Merge pull request #72 from Houdini/update-changelog
...
Update changelog
9 years ago
Moncef Belyamani
1c2fe1a055
Update changelog
9 years ago