From 5223e07f603bea9316e35efecb91247db4f14fc7 Mon Sep 17 00:00:00 2001 From: Rehan Daphedar Date: Fri, 27 Sep 2024 15:46:11 +0530 Subject: [PATCH] Remove extra colon in Direct Authentication example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ddb757..6fd451e 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ In addition to oauth2 providers `auth.Service` allows to use direct user-defined ```go service.AddDirectProvider("local", provider.CredCheckerFunc(func(user, password string) (ok bool, err error) { - ok, err := checkUserSomehow(user, password) + ok, err = checkUserSomehow(user, password) return ok, err })) ```