Skip to content

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

Merge branch 'main' into 81-add-support-for-attachments-file-upload

Leendert de Borstfe29cb7a2c03
diff --cc src/AliasVault.WebApp/Services/CredentialService.cs
index 915face5a,bc3b2ef86..54db385da
--- a/src/AliasVault.WebApp/Services/CredentialService.cs
+++ b/src/AliasVault.WebApp/Services/CredentialService.cs
@@@ -112,12 -112,16 +117,15 @@@ public class CredentialService(HttpClie
{
var context = await dbService.GetDbContextAsync();
+ // Try to extract favicon from service URL
+ await ExtractFaviconAsync(loginObject);
+
// Get the existing entry.
- var login = await context.Credentials
- .Include(x => x.Alias)
- .Include(x => x.Service)
- .Include(x => x.Passwords)
- .Where(x => x.Id == loginObject.Id)
- .FirstAsync();
+ var login = await LoadEntryAsync(loginObject.Id);
+ if (login is null)
+ {
+ throw new InvalidOperationException("Login object not found.");
+ }
login.UpdatedAt = DateTime.UtcNow;
login.Notes = loginObject.Notes;
diff --cc src/AliasVault.WebApp/wwwroot/css/tailwind.css
index b2389ab9d,1e75a8b54..d17aef7bc
--- a/src/AliasVault.WebApp/wwwroot/css/tailwind.css
+++ b/src/AliasVault.WebApp/wwwroot/css/tailwind.css
@@@ -1393,21 -1377,16 +1417,26 @@@ video
color: rgb(255 255 255 / var(--tw-text-opacity));
}
-.text-blue-500 {
+.text-gray-600 {
--tw-text-opacity: 1;
- color: rgb(59 130 246 / var(--tw-text-opacity));
+ color: rgb(75 85 99 / var(--tw-text-opacity));
+}
+
+.text-red-500 {
+ --tw-text-opacity: 1;
+ color: rgb(239 68 68 / var(--tw-text-opacity));
+}
+
+.text-blue-600 {
+ --tw-text-opacity: 1;
+ color: rgb(37 99 235 / var(--tw-text-opacity));
}
+ .text-primary-500 {
+ --tw-text-opacity: 1;
+ color: rgb(244 149 65 / var(--tw-text-opacity));
+ }
+
.opacity-0 {
opacity: 0;
}