pointer fix
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
e05a2de2fa
commit
5ba3ca342b
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue