From 6970b4f7ab2dad5f55fcd14947fd3176f6104725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 4 Apr 2025 09:06:18 +0200 Subject: [PATCH 1/2] server: Fix formatting of credential provider note --- server/credential_provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/credential_provider.go b/server/credential_provider.go index 3d44eb0c1..e900f2638 100644 --- a/server/credential_provider.go +++ b/server/credential_provider.go @@ -4,8 +4,8 @@ import "sync" // interface for user credential provider // hint: can be extended for more functionality -// =================================IMPORTANT NOTE=============================== -// if the password in a third-party credential provider could be updated at runtime, we have to invalidate the caching +// +// Note: if the password in a third-party credential provider could be updated at runtime, we have to invalidate the caching // for 'caching_sha2_password' by calling 'func (s *Server)InvalidateCache(string, string)'. type CredentialProvider interface { // check if the user exists From 14176b6a8df763072499949e153b1158381efb8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 4 Apr 2025 09:52:01 +0200 Subject: [PATCH 2/2] Update server/credential_provider.go Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> --- server/credential_provider.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/credential_provider.go b/server/credential_provider.go index e900f2638..11014d916 100644 --- a/server/credential_provider.go +++ b/server/credential_provider.go @@ -5,7 +5,9 @@ import "sync" // interface for user credential provider // hint: can be extended for more functionality // -// Note: if the password in a third-party credential provider could be updated at runtime, we have to invalidate the caching +// # Important Note +// +// if the password in a third-party credential provider could be updated at runtime, we have to invalidate the caching // for 'caching_sha2_password' by calling 'func (s *Server)InvalidateCache(string, string)'. type CredentialProvider interface { // check if the user exists