Skip to content

Commit 08bfdf2

Browse files
rehandaphedarumputun
authored andcommitted
Remove extra colon in Direct Authentication example
1 parent 76f9164 commit 08bfdf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ In addition to oauth2 providers `auth.Service` allows to use direct user-defined
144144

145145
```go
146146
service.AddDirectProvider("local", provider.CredCheckerFunc(func(user, password string) (ok bool, err error) {
147-
ok, err := checkUserSomehow(user, password)
147+
ok, err = checkUserSomehow(user, password)
148148
return ok, err
149149
}))
150150
```

0 commit comments

Comments
 (0)