hereForLearing
hereForLearing

Reputation: 1298

How to customize authentification page/location

How can I customize/modify/move the authentification page of Spring security (grails) ? where can I get its default code?
Thank you

Upvotes: 0

Views: 35

Answers (2)

Evgeny Smirnov
Evgeny Smirnov

Reputation: 3026

You need to put following code into your custom gsp :

<input type='text' name='j_username'/>
<input type='password' name='j_password'/>

Upvotes: 0

Armaiti
Armaiti

Reputation: 766

Here is where you can find the plugin source file:

plugins\spring-security-core<version-number>\grails-app\login\auth.gsp

Copy the source file and place it in:

grails-app\Views\login\auth.gsp

This way your updates will overwrite the origin.

Upvotes: 0

Related Questions