Skip to content

Commit

Permalink
Update README example to use displayName attribute (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattb18 committed Jan 26, 2023
1 parent 5049389 commit 2aeb2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -58,7 +58,7 @@ import (
)

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

func main() {
Expand Down

0 comments on commit 2aeb2ef

Please sign in to comment.