From 98c7d6f5785182117b9fe6ebd6b892f860bc2024 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 30 Jan 2025 00:19:16 +0100 Subject: feat(webui): bootstrap account settings management with light and dark mode --- pkg/model/account.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/model/account.go') diff --git a/pkg/model/account.go b/pkg/model/account.go index 7a69685..5055943 100644 --- a/pkg/model/account.go +++ b/pkg/model/account.go @@ -2,6 +2,7 @@ package model import ( "crypto/subtle" + "encoding/json" "time" "git.adyxax.org/adyxax/tfstated/pkg/helpers" @@ -17,7 +18,7 @@ type Account struct { IsAdmin bool Created time.Time LastLogin time.Time - Settings any + Settings json.RawMessage } func (account *Account) CheckPassword(password string) bool { -- cgit v1.2.3