Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-ninja authored and efleming18 committed Dec 26, 2019
1 parent fa8839e commit a382a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Web/Controllers/ManageController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ManageController : Controller
private readonly IAppLogger<ManageController> _logger;
private readonly UrlEncoder _urlEncoder;

private const string AuthenicatorUriFormat = "otpauth://totp/{0}:{1}?secret={2}&issuer={0}&digits=6";
private const string AuthenticatorUriFormat = "otpauth://totp/{0}:{1}?secret={2}&issuer={0}&digits=6";

public ManageController(
UserManager<ApplicationUser> userManager,
Expand Down Expand Up @@ -491,7 +491,7 @@ private string FormatKey(string unformattedKey)
private string GenerateQrCodeUri(string email, string unformattedKey)
{
return string.Format(
AuthenicatorUriFormat,
AuthenticatorUriFormat,
_urlEncoder.Encode("eShopOnWeb"),
_urlEncoder.Encode(email),
unformattedKey);
Expand Down

0 comments on commit a382a0f

Please sign in to comment.