aspnet/Templating

Link on Razor Pages individual auth template page GenerateRecoveryCodes is broken

Closed this issue · 3 comments

There's a bug in the 2.0.5 Razor Pages individual auth template where the link in GenerateRecoveryCodes.cshtml is incorrect:

<p>
    Generating new recovery codes does not change the keys used in authenticator apps. If you wish to change the key
    used in an authenticator app you should <a asp-action="ResetAuthenticatorWarning">reset your authenticator keys.</a>
</p>

Needs to be changed to

<p>
    Generating new recovery codes does not change the keys used in authenticator apps. If you wish to change the key
    used in an authenticator app you should <a asp-page="./ResetAuthenticator">reset your authenticator keys.</a>
</p>

Tracking fixing this in the Identity repo via aspnet/Identity#1558.

Broken link is fixed in Identity UI - aspnet/Identity@e44cba9#diff-f6ffc3b753a4210ef639736b520f99daR19. Using this to track porting it for 2.0.x

Eilon commented

This patch is approved for the Feb 2018 patch. Please send a PR to the appropriate branch, get it reviewed, and merge.

Please consider adding a quirks-mode switch for this change.