From bc29d321bfacce8535ca7e2ee15e5c3ba1e17773 Mon Sep 17 00:00:00 2001 From: Marcel Heers Date: Sat, 20 Jan 2024 21:55:11 +0200 Subject: [PATCH] config: ignores User.PassAppCustom when encoding to toml as funcs can not be encoded (#384) --- v2/pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/pkg/config/config.go b/v2/pkg/config/config.go index 698e6b3..22e98e6 100644 --- a/v2/pkg/config/config.go +++ b/v2/pkg/config/config.go @@ -82,7 +82,7 @@ type User struct { PassBcrypt string PassAppSHA256 []string PassAppBcrypt []string - PassAppCustom UserAuthenticator + PassAppCustom UserAuthenticator `toml:"-"` PrimaryGroup int Capabilities []Capability SSHKeys []string