Bugfixes and freedback addressing

This commit is contained in:
2017-10-08 18:42:48 +02:00
parent f471aed610
commit e31d994d4b
7 changed files with 12 additions and 13 deletions
-3
View File
@@ -2,7 +2,6 @@ package viewmodel
import (
"fmt"
"log"
"git.aiterp.net/AiteRP/aitestory/server"
"git.aiterp.net/gisle/wrouter/auth"
@@ -23,8 +22,6 @@ type Base struct {
// InitBase initializes the base of the viewmodel
func (base *Base) setupBase(user *auth.User, viewTitle string) {
if user != nil {
log.Printf("%+v", user)
base.User.ID = user.FullID()
base.User.Name = user.ID
base.User.Role = user.Data["role"]