Skip to content

Commit 8dfe0bb

Browse files
committed
Updates
1 parent 8e328eb commit 8dfe0bb

File tree

3 files changed

+168
-144
lines changed

3 files changed

+168
-144
lines changed

aspnetcore/blazor/security/qrcodes-for-authenticator-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Make the following changes:
120120
+ <div id="qrCodeData" data-url="@authenticatorUri"></div>
121121
```
122122

123-
Change the site name in the `GenerateQrCodeUri` method of the `EnableAuthenticator` component. The default value is `Microsoft.AspNetCore.Identity.UI`. Change the value to a meaningful site name that users can identify easily in their authenticator app. Developers usually set a site name that matches the company's name. Examples: Yahoo, Amazon, Etsy, Microsoft, Zoho. We recommend limiting the site name length to 30 characters or less to allow the site name to display on narrow mobile device screens.
123+
Change the site name in the `GenerateQrCodeUri` method of the `EnableAuthenticator` component. The default value is `Microsoft.AspNetCore.Identity.UI`. Change the value to a meaningful site name that users can identify easily in their authenticator app. Developers usually set a site name that matches the company's name. We recommend limiting the site name length to 30 characters or less to allow the site name to display on narrow mobile device screens.
124124

125125
In the following example, the default value `Microsoft.AspNetCore.Identity.UI` is changed to the company name `Weyland-Yutani Corporation` (&copy;1986 20th Century Studios [*Aliens*](https://www.20thcenturystudios.com/movies/aliens)).
126126

aspnetcore/blazor/security/webassembly/standalone-with-identity/account-confirmation-and-password-recovery.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ These namespaces correspond to the projects in the `BlazorWebAssemblyStandaloneW
2727

2828
If you aren't using the `BlazorWebAssemblyStandaloneWithIdentity` sample solution, change the namespaces in the code examples to use the namespaces of your projects.
2929

30-
In this article's code examples, the code lines are artificially broken across two or more lines to eliminate or reduce horizontal scrolling of the article's code blocks. The code executes regardless of these artificial line breaks. You're welcome to condense the code in your own apps by removing the artificial line breaks after you paste the code into a project.
31-
3230
## Select and configure an email provider for the server project
3331

3432
In this article, [Mailchimp's Transactional API](https://mailchimp.com/developer/transactional/api/) is used via [Mandrill.net](https://www.nuget.org/packages/Mandrill.net) to send email. We recommend using an email service to send email rather than SMTP. SMTP is difficult to configure and secure properly. Whichever email service you use, access their guidance for .NET apps, create an account, configure an API key for their service, and install any NuGet packages required.
@@ -160,7 +158,7 @@ Locate the line that calls <xref:Microsoft.Extensions.DependencyInjection.Identi
160158
In the client project's `Register` component (`Components/Identity/Register.razor`), change the message to users on a successful account registration to instruct them to confirm their account. The following example includes a link to trigger Identity on the server to resend the confirmation email.
161159

162160
```diff
163-
- You successfully registered. Now you can <a href="login">login</a>.
161+
- You successfully registered and can <a href="login">login</a> to the app.
164162
+ You successfully registered. You must now confirm your account by clicking
165163
+ the link in the email that was sent to you. After confirming your account,
166164
+ you can <a href="login">login</a> to the app.

0 commit comments

Comments
 (0)