This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Blake Erickson 3b16eb7abb FIX: Confirm new email with backup codes enabled
This is a fix for this bug:

https://meta.discourse.org/t/-/133185?u=blake

where rails would throw a missing template error when trying to confirm
a new email address when you had two factor backup codes enabled.

Apparently this feature broke during this commit:

68d35b14f4

when a partial that contained a lot of javascript was removed most
likely because it didn't comply with our Content Security Policy, so as
a fix I rewrote the previous js functionality without using any
javascript and then added a spec to verify that the correct backup code
form is displayed when that page is loaded.
2019-11-14 16:27:42 -07:00
..
assets UX: Adds +n indicator in PM topic list (#8353) 2019-11-14 14:14:23 -05:00
controllers FIX: Don't show bots as post readers 2019-11-14 17:53:52 -03:00
helpers FEATURE: Load translation overrides without JS eval 2019-11-05 19:16:38 +01:00
jobs DEV: Apply Rubocop redundant return style 2019-11-14 15:10:51 -05:00
mailers UX: show user email address on "grant admin access" email and UI 2019-11-04 14:47:00 +05:30
models DEV: Apply Rubocop redundant return style 2019-11-14 15:10:51 -05:00
serializers DEV: Apply Rubocop redundant return style 2019-11-14 15:10:51 -05:00
services DEV: Apply Rubocop redundant return style 2019-11-14 15:10:51 -05:00
views FIX: Confirm new email with backup codes enabled 2019-11-14 16:27:42 -07:00