Inside your Wagon site, you need to create a content type describing your users with:
- ONE password type field.
- ONE email/string type field (unique: true)
There is no restriction about the name of these 2 fields.
$ bundle exec wagon generate content_type accounts name:string email:email password:password
The previous command will both generate the YAML file for the content type definition and another file for the test users.
Note: Make sure the password has a minimum of 6 characters.
- "John": email: "[email protected]" password: "test31"
Passwords are stored in plain text in Wagon.
Updated over 2 years ago