Skip to content

Commit

Permalink
Update README.md (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler authored Feb 10, 2020
1 parent 17489b9 commit ad43eca
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 @@ -82,7 +82,7 @@ import (
)

func hello(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, %s!", samlsp.Token(r.Context()).Attributes.Get("cn"))
fmt.Fprintf(w, "Hello, %s!", samlsp.AttributeFromContext(r.Context(), "cn"))
}

func main() {
Expand Down

0 comments on commit ad43eca

Please sign in to comment.