1
0

GetUser now returns a pointer (#93)

This commit is contained in:
konrad
2019-08-14 19:59:31 +00:00
committed by Gitea
parent 8fbe721453
commit be14634e1e
25 changed files with 172 additions and 131 deletions

View File

@ -55,7 +55,7 @@ func Login(c echo.Context) error {
}
// Create token
t, err := CreateNewJWTTokenForUser(&user)
t, err := CreateNewJWTTokenForUser(user)
if err != nil {
return err
}