Changeset 35820


Ignore:
Timestamp:
2021-12-16T13:33:41+13:00 (2 years ago)
Author:
cstephen
Message:

Add autocomplete tags to username/password input to guide the user agent on autocomplete suggestions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/login.xsl

    r35331 r35820  
    7777              <tr>
    7878                <td colspan="2">
    79                   <input type="text" name="username" style="width:95%;">
     79                  <input type="text" name="username" style="width:95%;" autocomplete="username">
    8080                <xsl:attribute name="placeholder">
    8181                  <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.username')"/>
     
    8686              <tr>
    8787                <td colspan="2">
    88                   <input type="password" name="password" style="width:95%;">
     88                  <input type="password" name="password" style="width:95%;" autocomplete="current-password">
    8989                <xsl:attribute name="placeholder">
    9090                  <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.password')"/>
Note: See TracChangeset for help on using the changeset viewer.