fix: iris context.User needs to be embedded in our User struct for type checking to properly work

This commit is contained in:
Derrick Hammer 2023-06-29 07:05:46 -04:00
parent a23d165caa
commit 1cfc2223a6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -2,10 +2,12 @@ package account
import (
"git.lumeweb.com/LumeWeb/portal/model"
"github.com/kataras/iris/v12/context"
"strconv"
)
type User struct {
context.User
account *model.Account
}