Changeset 7530 for trunk/www/main.jsp


Ignore:
Timestamp:
Nov 26, 2018, 12:40:55 PM (4 years ago)
Author:
Nicklas Nordborg
Message:

References #2131: Add support for installing multiple authentication managers

The most recently used login form should now be remembered and automatically loaded the next time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/main.jsp

    r7529 r7530  
    116116    bean.setPasswordField(FieldInfo.DEFAULT_PASSWORD);
    117117    loginAction = bean;
     118    selectedLoginForm = "password";
    118119  }
    119120
     
    127128    <ext:stylesheets context="<%=jspContext%>" />
    128129  </base:head>
    129   <base:body style="padding-top: 5em;" data-login-form="<%=Values.getString(selectedLoginForm)%>">
     130  <base:body style="padding-top: 5em;" data-login-form="<%=HTML.encodeTags(selectedLoginForm)%>" data-requested-form="<%=HTML.encodeTags(requestedLoginForm) %>">
    130131    <form name="login" action="login.jsp" method="post">
    131132    <input type="hidden" name="ID" value="<%=ID%>">
Note: See TracChangeset for help on using the changeset viewer.