Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 2aeb2ef

Browse files
authored
Update README example to use displayName attribute (crewjam#486)
1 parent 5049389 commit 2aeb2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import (
5858
)
5959

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

6464
func main() {

0 commit comments

Comments
 (0)