Explorar o código

Added IsIntern in User.go

Yoginth %!s(int64=7) %!d(string=hai) anos
pai
achega
28803445a8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      routes/admin/users.go

+ 1 - 0
routes/admin/users.go

@@ -218,6 +218,7 @@ func EditUserPost(c *context.Context, f form.AdminEditUser) {
 	u.IsBugHunter = f.IsBugHunter
 	u.IsBeta = f.IsBeta
 	u.IsStaff = f.IsStaff
+	u.IsIntern = f.IsIntern
 	u.Twitter = f.Twitter
 	u.Linkedin = f.Linkedin
 	u.Github = f.Github