Skip to content

Commit

Permalink
Remove extra colon in Direct Authentication example
Browse files Browse the repository at this point in the history
  • Loading branch information
rehandaphedar authored and umputun committed Sep 27, 2024
1 parent 76f9164 commit 08bfdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}))
```
Expand Down

0 comments on commit 08bfdf2

Please sign in to comment.