Dmitrii Golub
60f64680df
Resend code localization
9 years ago
Dmitrii Golub
bdb89e50f8
fix: different cookies for different users
9 years ago
Kevin Pheasey
67b8ca7ae4
Abstract logic for two factor success and fail into separate methods. Further abstract the path for after success into a third method.
9 years ago
Paul Bowsher
8d4da3beb5
Add support for remembering a user's 2FA session in a cookie
...
This makes the gem store a signed cookie for a configurable amount of
time that allows the user to bypass 2FA. Our use-case for this is that
we expire user’s Devise sessions after 12 hours, but don’t want to
force them to authenticate using 2FA every day.
Signed cookies are available since Rails 3. This requires the signing
functionality to be properly configured, but is disabled by setting the
config variable to `0`, the default.
9 years ago
JD Trout
14adcce362
Add ability to resend code
10 years ago
Laust Rud Jacobsen
c87d591541
Extract reused Warden key constant
11 years ago
Karol Sarnacki
f3a39237fa
Use Strings and not Symbols for keys when storing variable in warden session
11 years ago
Ross Kaffenberger
0a57c06d15
feature spec for checking max attempts before show
11 years ago
Ross Kaffenberger
c49c267928
Feature spec for max login attempts
...
adds nickname column to dummy app user
Update feature specs with user nickname; add max login attempt spec
regenerate schema
11 years ago
Ross Kaffenberger
f46a62720c
happy path feature specs for two factor auth
11 years ago
Matt Mueller
3d8b6c484d
Controller: authenticate using new one time password algorithm.
11 years ago
Edger
2ad13ed8b2
added rus locallization for max attempts and their limit
11 years ago
Edger
414475e8e8
added rus locallization for max attempts and their limit
11 years ago
John Bradley
8f32e92f96
Setting an error message (instead of a notice) on attempt failure.
12 years ago
John Bradley
2b77e843c5
Typo and punctuation corrections.
12 years ago
Dmitrii Golub
e4c812ad6d
first commit
13 years ago