Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AuthService authService
- def init = { servletContext ->
- environments{
- development{
- authService.createUser(new User(email: 'myemail@url.com', admin: true), 'password')
- authService.createUser(new User(email: 'myemail2@url.com'), 'password')
- }
- }
- }
Add Comment
Please, Sign In to add comment