Creating a grails UI index with springSecurity function

I am new to Grails and am developing a web application using grails. I installed the SpringSecurity plugin for login. But the original login page is a springSecurity function providing auth.gsp And I edited that auth.gsp file with my own user interface structure like

But I want to do this auth.gsp as an index page that loads when the application starts. How can I redirect index.gsp to auth.gsp.

+4
source share
1 answer

Change

"/"(view: "/index")

to

"/"(controller: 'login')

at UrlMappings.groovy

+6
source

Source: https://habr.com/ru/post/1531153/


All Articles