Skip to content

Commit

Permalink
document return params
Browse files Browse the repository at this point in the history
Co-authored-by: Arne Luenser <[email protected]>
  • Loading branch information
hperl and alnr authored Oct 29, 2024
1 parent c7864d6 commit fd1e1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistence/sql/persister_authenticate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"context"
)

func (p *Persister) Authenticate(ctx context.Context, name, secret string) (string, error) {
func (p *Persister) Authenticate(ctx context.Context, name, secret string) (subject string, err error) {
session, err := p.r.Kratos().Authenticate(ctx, name, secret)
if err != nil {
return "", err
Expand Down

0 comments on commit fd1e1ff

Please sign in to comment.