pointer fix
the build was successful Details

This commit is contained in:
konrad 2017-11-08 17:14:51 +01:00 committed by kolaente
parent e05a2de2fa
commit 5ba3ca342b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func HashPassword(password string) (string, error) {
}
// CheckUserCredentials checks user credentials
func CheckUserCredentials(u UserLogin) (User, error) {
func CheckUserCredentials(u *UserLogin) (User, error) {
// Check if the user exists
var user = User{Username: u.Username}