I'm running grails 3 with the security plugin (entry from gradle file)
compile group: 'org.grails.plugins', name: 'spring-security-core', version: '3.2.3'
Then run:
s2-quickstart mydomain User Role
and now the security is being applied to the site.
Now I need to change the login.gsp page but it's not under views.
Must I run another command to generate it (and the controller)?
Thanks
Implement your own login page by adding a file in your app under grails-app/views/login/auth.gsp
- this will take precedence over the one in the plugin.
You can use auth.gsp
from the plugin as a starting point for yours. It can be found here: https://github.com/grails-plugins/grails-spring-security-core/blob/master/plugin/grails-app/views/login/auth.gsp
I'm not aware of any command that puts the views auth.gsp or denied.gsp in your app.