Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update CreateNewIdentityWidget to use Login as default to match other platforms (#1606)

Leendert de Borstcd9bd81a0a2d
diff --git a/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor b/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor
index 807c0edcc..3f781434b 100644
--- a/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor
+++ b/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor
@@ -148,9 +148,9 @@
{
IsPopupVisible = true;
- // Clear the input fields and default to Alias type
+ // Clear the input fields and default to Login type
Model = new();
- Model.ItemType = ItemType.Alias;
+ Model.ItemType = ItemType.Login;
Model.ServiceUrl = ItemService.DefaultServiceUrl;
await UpdatePopupStyle();
@@ -403,7 +403,7 @@
/// <summary>
/// The item type to create.
/// </summary>
- public string ItemType { get; set; } = ItemTypeClass.Alias;
+ public string ItemType { get; set; } = ItemTypeClass.Login;
/// <summary>
/// The service name.