diff --git a/Request-authentication.md b/Request-authentication.md
index add07c2..c7f6cff 100644
--- a/Request-authentication.md
+++ b/Request-authentication.md
@@ -27,15 +27,15 @@ import (
)
func getTokenHandler(ctx iris.Context) {
- token := jwt.NewTokenWithClaims(jwt.SigningMethodHS256, jwt.MapClaims{
- "foo": "bar",
- })
+ token := jwt.NewTokenWithClaims(jwt.SigningMethodHS256, jwt.MapClaims{
+ "foo": "bar",
+ })
- // Sign and get the complete encoded token as a string using the secret
- tokenString, _ := token.SignedString([]byte("My Secret"))
+ // Sign and get the complete encoded token as a string using the secret
+ tokenString, _ := token.SignedString([]byte("My Secret"))
- ctx.HTML(`Token: ` + tokenString + `
-/secured?token=` + tokenString + ``)
+ ctx.HTML(`Token: ` + tokenString + `
+ /secured?token=` + tokenString + ``)
}
func myAuthenticatedHandler(ctx iris.Context) {