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:

68d35b14f4b5193c1bae0f175b9e461152e13ac7

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
..
2018-02-22 15:03:41 +08:00
2019-05-02 16:23:25 +10:00
2016-02-22 18:28:09 +05:30
2018-09-17 09:49:53 +10:00
2017-10-27 09:13:04 +05:30