Ignore:
Timestamp:
Oct 22, 2010, 4:52:47 PM (7 years ago)
Author:
robert@…
Message:

Using the login panel for logging in, instead of the ugly spring-security-ui loginbox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/common/_login_panel.gsp

    r976 r984  
    2121                                        <div class="clear"></div>
    2222                                        <input type="submit" name="submit" value="Login" class="bt_login" />
     23
     24                                        <g:if test="${redirectUrl}">
     25                                          <g:hiddenField name="spring-security-redirect" value="${redirectUrl}" />
     26                                        </g:if>
     27
    2328                                        <a class="lost-pwd" href="<g:createLink url="[action:'forgotPassword',controller:'register']" class="lost-pwd" />">Lost your password?</a>
    2429                                </g:form>
Note: See TracChangeset for help on using the changeset viewer.