diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/MainLayout.razor.scss b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/MainLayout.razor.scss
index 812df4c04a..effcd9f6ed 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/MainLayout.razor.scss
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/MainLayout.razor.scss
@@ -123,6 +123,7 @@ main {
.form-submit-button {
width: 100%;
+ max-width: rem2(300px);
margin-bottom: rem2(10px);
}
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor
index 11d4a6cdd6..c39d448ea6 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor
@@ -21,122 +21,188 @@
@if (requiresTwoFactor is false)
{
-
-
- @Localizer[AppStrings.GoogleSignInButtonText]
-
-
- @Localizer[AppStrings.GitHubSignInButtonText]
-
-
-
- @Localizer[AppStrings.TwitterSignInButtonText]
-
-
- Or
+
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
-
-
-
- @Localizer[nameof(AppStrings.SendOtpButtonText)]
+ OnClick="WrapHandled(TwitterSignIn)"
+ Title="@Localizer[AppStrings.TwitterSignUpButtonText]">
+
-
+
+
+ @Localizer[AppStrings.Or]
+
+
+
+
+
+
+
+
+
+
+
+
+ @Localizer[nameof(AppStrings.Password)]
+
+ @Localizer[nameof(AppStrings.ForgotPasswordLink)]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @Localizer[nameof(AppStrings.Password)]
+
+ @Localizer[nameof(AppStrings.ForgotPasswordLink)]
+
+
+
+
+
+
+
+
+
+ @Localizer[nameof(AppStrings.OtpEmailOrPhoneNumberSubtitle)]
+
+
+
+ @Localizer[nameof(AppStrings.SendOtpButtonText)]
+
+
+
+
+
+
+
+
}
else
{
-
- @Localizer[nameof(AppStrings.TfaProtectedSignInSubtitle)]
+ @Localizer[nameof(AppStrings.TwoFactorAuthTitle)]
+ @Localizer[nameof(AppStrings.TfaProtectedSignInSubtitle)]
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
-
+
@Localizer[nameof(AppStrings.SignIn)]
-
-
-
- @Localizer[nameof(AppStrings.ForgotPasswordLink)]
-
-
-
-
+
+
@Localizer[nameof(AppStrings.DontHaveAccountMessage)]
@Localizer[nameof(AppStrings.SignUp)]
-
+
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.cs
index ada3ebe7d6..d93745d8e2 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.cs
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.cs
@@ -14,6 +14,7 @@ public partial class SignInPage
private string? message;
private BitColor messageColor;
+ private BitOtpInput otpInputRef = default!;
private ElementReference messageRef = default!;
@@ -128,6 +129,7 @@ private async Task SendOtp()
finally
{
isSendingOtp = false;
+ await otpInputRef.FocusAsync();
}
}
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.scss b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.scss
index daea7e3daf..5a14d3db4c 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.scss
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor.scss
@@ -16,8 +16,6 @@
margin-bottom: rem2(20px);
}
-.tfa-token-container {
+.tfa-otp-container {
gap: 4px;
- display: flex;
- flex-flow: column;
}
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor
index e8582bcd10..b504b06475 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor
@@ -26,9 +26,7 @@
ButtonType="BitButtonType.Button"
OnClick="WrapHandled(GoogleSignUp)"
Title="@Localizer[AppStrings.GoogleSignUpButtonText]">
-
+
-
+
-
+
@@ -59,7 +53,7 @@
-
+
@@ -91,12 +85,12 @@
@*
-
-
- @Localizer[nameof(AppStrings.TermsMessage)] @Localizer[nameof(AppStrings.TermsTitle)]
-
-
-
+
+
+ @Localizer[nameof(AppStrings.TermsMessage)] @Localizer[nameof(AppStrings.TermsTitle)]
+
+
+
*@
@*#if (captcha == "reCaptcha")*@
@@ -111,7 +105,7 @@
@Localizer[nameof(AppStrings.SignUp)]
-
+
@Localizer[nameof(AppStrings.SignInMessageInSignUp)]
@Localizer[nameof(AppStrings.SignIn)]
@Localizer[nameof(AppStrings.Or)]
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg
index 83c223f849..3ca894b2ba 100644
--- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg
+++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg
@@ -1,3 +1,3 @@
-