From 1cfc2223a6df614f26fd0337ced68d92e774589f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 29 Jun 2023 07:05:46 -0400 Subject: [PATCH] fix: iris context.User needs to be embedded in our User struct for type checking to properly work --- service/account/user.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/account/user.go b/service/account/user.go index aa8c8d8..fc4103a 100644 --- a/service/account/user.go +++ b/service/account/user.go @@ -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 }