fix: iris context.User needs to be embedded in our User struct for type checking to properly work
This commit is contained in:
parent
a23d165caa
commit
1cfc2223a6
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue