From a4c041a9d47c785e875b7c88cdb17aae7b96ad1f Mon Sep 17 00:00:00 2001 From: fbuedding <100070891+fbuedding@users.noreply.github.com> Date: Thu, 15 Jan 2026 22:18:26 +0100 Subject: [PATCH] Fixed typos --- _example/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_example/main.go b/_example/main.go index e7068298..6be97616 100644 --- a/_example/main.go +++ b/_example/main.go @@ -62,13 +62,13 @@ func main() { if strings.HasPrefix(claims.User.ID, "microsoft_") { // allow all users with ms auth return true } - if strings.HasPrefix(claims.User.ID, "patreon_") { // allow all users with ms auth + if strings.HasPrefix(claims.User.ID, "patreon_") { // allow all users with patreon auth return true } - if strings.HasPrefix(claims.User.Name, "dev_") { // non-guthub allow only dev_* names + if strings.HasPrefix(claims.User.Name, "dev_") { // allow all users with dev auth return true } - return strings.HasPrefix(claims.User.Name, "custom123_") + return strings.HasPrefix(claims.User.Name, "custom123_") // allow all users with custom123 auth } return false }),