1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 18:37:05 +00:00

update deps

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-11-25 04:47:36 +02:00
parent 763300b566
commit afa1d89a23
8 changed files with 125 additions and 37 deletions

View File

@@ -69,6 +69,7 @@ func handler(ctx iris.Context) {
// makes sure for that, otherwise this handler will not be executed.
// OR:
user := ctx.User()
// OR ctx.User().GetRaw() to get the underline value.
username, _ := user.GetUsername()
password, _ := user.GetPassword()
ctx.Writef("%s %s:%s", ctx.Path(), username, password)