Merge branch '2fa' into 'master'
Two-factor authentication Implement's Two-factor authentication using tokens. - [X] Authentication logic - [X] Enable/disable 2FA feature - [x] Make 2-step login process if 2FA enabled - [x] Backup codes - [x] Backup code removed after being used - [x] Check backup codes for mysql db (mention mysql limitation if applied) - [x] Add tests - [x] Test if https://github.com/tinfoil/devise-two-factor#disabling-automatic-login-after-password-resets applies, and address if so - [x] Wait for fixed version of `attr_encrypted` or fork and use forked version - https://github.com/attr-encrypted/attr_encrypted/issues/155 Fixes http://feedback.gitlab.com/forums/176466-general/suggestions/4516817-implement-two-factor-authentication-2fa See merge request !474
Showing
... | @@ -34,6 +34,11 @@ gem 'omniauth-bitbucket' | ... | @@ -34,6 +34,11 @@ gem 'omniauth-bitbucket' |
gem 'doorkeeper', '2.1.3' | gem 'doorkeeper', '2.1.3' | ||
gem "rack-oauth2", "~> 1.0.5" | gem "rack-oauth2", "~> 1.0.5" | ||
# Two-factor authentication | |||
gem 'devise-two-factor' | |||
gem 'rqrcode-rails3' | |||
gem 'attr_encrypted', '1.3.4' | |||
# Browser detection | # Browser detection | ||
gem "browser" | gem "browser" | ||
... | ... |
spec/features/login_spec.rb
0 → 100644
Please register or sign in to comment