Skip to content

Commit 2aeb2ef

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
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)