Merge pull request #57 from marineam/passwd
fix(user): Use '*' as default password field rather than '!'
This commit is contained in:
		| @@ -34,6 +34,8 @@ func CreateUser(u *User) error { | ||||
|  | ||||
| 	if u.PasswordHash != "" { | ||||
| 		args = append(args, "--password", u.PasswordHash) | ||||
| 	} else { | ||||
| 		args = append(args, "--password", "*") | ||||
| 	} | ||||
|  | ||||
| 	if u.GECOS != "" { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user