diff --git a/GWMS.UI/Areas/Identity/Pages/Account/ConfirmEmail.cshtml b/GWMS.UI/Areas/Identity/Pages/Account/ConfirmEmail.cshtml index d84e93b..e17c01d 100644 --- a/GWMS.UI/Areas/Identity/Pages/Account/ConfirmEmail.cshtml +++ b/GWMS.UI/Areas/Identity/Pages/Account/ConfirmEmail.cshtml @@ -1,7 +1,21 @@ @page @model ConfirmEmailModel @{ - ViewData["Title"] = "Confirm email"; + ViewData["Title"] = "Conferma Effettuata"; } -

@ViewData["Title"]

\ No newline at end of file +
+

@ViewData["Title"]

+
+
+

L'email è stata confermata! ora puoi effettuare il login all'applicazione

+
+ +
+
\ No newline at end of file diff --git a/GWMS.UI/Areas/Identity/Pages/Account/LogOut.cshtml b/GWMS.UI/Areas/Identity/Pages/Account/LogOut.cshtml index d240159..f50f240 100644 --- a/GWMS.UI/Areas/Identity/Pages/Account/LogOut.cshtml +++ b/GWMS.UI/Areas/Identity/Pages/Account/LogOut.cshtml @@ -4,18 +4,37 @@ ViewData["Title"] = "Log out"; } -
-

@ViewData["Title"]

- @{ - if (User.Identity.IsAuthenticated) - { -
- -
+
+

@ViewData["Title"]

+
+ @{ + if (User.Identity.IsAuthenticated) + { +
+
+
+

Premendo sul pulsante effettuerai il logout dal sistema.

+
+
+ +
+
+
+ } + else + { +
+
+

Disconnesisone effettuata.

+
+ + +
+ } } - else - { -

You have successfully logged out of the application.

- } - } -
\ No newline at end of file + + \ No newline at end of file diff --git a/GWMS.UI/Areas/Identity/Pages/Account/Login.cshtml b/GWMS.UI/Areas/Identity/Pages/Account/Login.cshtml index 85eb463..44cfac6 100644 --- a/GWMS.UI/Areas/Identity/Pages/Account/Login.cshtml +++ b/GWMS.UI/Areas/Identity/Pages/Account/Login.cshtml @@ -10,7 +10,7 @@
-

Use a local account to log in.

+

Effettuare login con l'account registrato.


@@ -31,19 +31,22 @@
-
- + +
+
+ +
+
-
-

- Forgot your password? -

-

- Register as a new user -

-

- Resend email confirmation -

+ diff --git a/GWMS.UI/Areas/Identity/Pages/Account/Register.cshtml b/GWMS.UI/Areas/Identity/Pages/Account/Register.cshtml index 878acc0..9728e05 100644 --- a/GWMS.UI/Areas/Identity/Pages/Account/Register.cshtml +++ b/GWMS.UI/Areas/Identity/Pages/Account/Register.cshtml @@ -27,7 +27,7 @@
- +
@*
diff --git a/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml b/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml index b851192..6635e8f 100644 --- a/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml +++ b/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml @@ -1,22 +1,24 @@ @page @model RegisterConfirmationModel @{ - ViewData["Title"] = "Register confirmation"; + ViewData["Title"] = "Conferma richiesta"; } -

@ViewData["Title"]

-@{ - if (@Model.DisplayConfirmAccountLink) - { -

- This app does not currently have a real email sender registered, see these docs for how to configure a real email sender. - Normally this would be emailed: Click here to confirm your account -

- } - else - { -

- Please check your email to confirm your account. -

- } -} +
+

@ViewData["Title"]

+
+
+

Account creato!

+

Ora è necessario effettuare la verifica dell'email registrata

+
+ Prego verifica la posta ricevuta all'account registrato per effettuare la conferma. +

Riceverai un email da steamwarebot at gmail.com con un link da cliccare per completare la registrazione. Dopo la conferma potrai effettuare il login all'applicazione.

+
+ +
\ No newline at end of file diff --git a/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml.cs b/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml.cs index 74abbcc..4b0089e 100644 --- a/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml.cs +++ b/GWMS.UI/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml.cs @@ -31,7 +31,6 @@ namespace GWMS.UI.Areas.Identity.Pages.Account #region Public Properties - public bool DisplayConfirmAccountLink { get; set; } public string Email { get; set; } public string EmailConfirmationUrl { get; set; } @@ -53,19 +52,6 @@ namespace GWMS.UI.Areas.Identity.Pages.Account } Email = email; - // Once you add a real email sender, you should remove this code that lets you confirm the account - DisplayConfirmAccountLink = false; - if (DisplayConfirmAccountLink) - { - var userId = await _userManager.GetUserIdAsync(user); - var code = await _userManager.GenerateEmailConfirmationTokenAsync(user); - code = WebEncoders.Base64UrlEncode(Encoding.UTF8.GetBytes(code)); - EmailConfirmationUrl = Url.Page( - "/Account/ConfirmEmail", - pageHandler: null, - values: new { area = "Identity", userId = userId, code = code, returnUrl = returnUrl }, - protocol: Request.Scheme); - } return Page(); } diff --git a/GWMS.UI/GWMS.UI.csproj b/GWMS.UI/GWMS.UI.csproj index 8c4a1d9..75dac84 100644 --- a/GWMS.UI/GWMS.UI.csproj +++ b/GWMS.UI/GWMS.UI.csproj @@ -2,7 +2,7 @@ net5.0 - 1.0.2108.2517 + 1.0.2108.2518 95c9f021-52d1-4390-a670-5810b7b777b0 diff --git a/GWMS.UI/Pages/Shared/_Layout.cshtml b/GWMS.UI/Pages/Shared/_Layout.cshtml index 2257d92..e5fd2af 100644 --- a/GWMS.UI/Pages/Shared/_Layout.cshtml +++ b/GWMS.UI/Pages/Shared/_Layout.cshtml @@ -17,6 +17,7 @@ GWMS User Management + @@ -62,6 +63,7 @@ + @RenderSection("Scripts", required: false) \ No newline at end of file diff --git a/GWMS.UI/Pages/Suppliers.razor.cs b/GWMS.UI/Pages/Suppliers.razor.cs index 262bf46..327b1a9 100644 --- a/GWMS.UI/Pages/Suppliers.razor.cs +++ b/GWMS.UI/Pages/Suppliers.razor.cs @@ -11,7 +11,7 @@ using System.Threading.Tasks; namespace GWMS.UI.Pages { - [Authorize(Roles = "SuperAdmin, Admin, User")] + [Authorize(Roles = "SuperAdmin, Admin, ExtUser")] public partial class Suppliers : ComponentBase, IDisposable { #region Private Fields diff --git a/GWMS.UI/Pages/Transporters.razor.cs b/GWMS.UI/Pages/Transporters.razor.cs index 98c530b..64b7169 100644 --- a/GWMS.UI/Pages/Transporters.razor.cs +++ b/GWMS.UI/Pages/Transporters.razor.cs @@ -11,7 +11,7 @@ using System.Threading.Tasks; namespace GWMS.UI.Pages { - [Authorize(Roles = "SuperAdmin, Admin, UserExt")] + [Authorize(Roles = "SuperAdmin, Admin, ExtUser")] public partial class Transporters : ComponentBase, IDisposable { #region Private Fields diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index e6bb9a4..482bf70 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GWMS - Gas Warehouse Management System -

Versione: 1.0.2108.2517

+

Versione: 1.0.2108.2518


Note di rilascio: