Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-27 | Catch error when server decryption fails on 2FA (#2512) | Matt Jankowski | |
2017-04-25 | Localize with i18n for Devise::FailureApp (#2309) | alpaca-tc | |
This PR fixes I18n.locale for rake middlewares. Mastodon uses Devise that depends on Warden. Warden::Manager can be found in rake middleware. It is outside of the controller. In the case of authentication failed, warden calls throw(:warden). At the time Warden::Manager delegates request to failure_app to generate response and flash[:alert] after catching it. Unfortunately, I18n.locale is already reset then because I18n.with_locale is enabled only inside the controller. If we used I18n.locale=, Devise::FailureApp could get the current locale. | |||
2017-04-15 | Add recovery code support for two-factor auth (#1773) | Patrick Figel | |
* Add recovery code support for two-factor auth When users enable two-factor auth, the app now generates ten single-use recovery codes. Users are encouraged to print the codes and store them in a safe place. The two-factor prompt during login now accepts both OTP codes and recovery codes. The two-factor settings UI allows users to regenerated lost recovery codes. Users who have set up two-factor auth prior to this feature being added can use it to generate recovery codes for the first time. Fixes #563 and fixes #987 * Set OTP_SECRET in test enviroment * add missing .html to view file names | |||
2016-11-17 | Fix #148 - Devise mailer fixed, test spec added so it won't slip past again | Eugen Rochko | |
2016-09-26 | Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app | Eugen Rochko | |
registration API | |||
2016-08-17 | Upgrade to Rails 5.0.0.1 | Eugen Rochko | |
2016-03-28 | Remember me enabled by default | Eugen Rochko | |