Code

Increased password length
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Jun 2008 08:01:26 +0000 (08:01 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Jun 2008 08:01:26 +0000 (08:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11252 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/default/login.tpl
gosa-core/ihtml/themes/default/password.tpl

index 275a992d1c223ebcf3a97f59129c4f6a8a8dc447..380e29b4ae1b593c2a3cd68676bc2754b48e04c1 100644 (file)
                <input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' />
                <div style='text-align:center; padding:10px;'>  
                <img class='center' align='middle' src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}' />&nbsp;
-               <input type='text' name='username' maxlength='25' value='{$username}'
+               <input type='text' name='username' maxlength='40' value='{$username}'
                         title='{t}Username{/t}' onFocus="nextfield= 'password';" />
                <br />
                <br />
                <img class='center' align='middle' src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}' />&nbsp;
-               <input type='password' name='password' maxlength='25' value=''
+               <input type='password' name='password' maxlength='40' value=''
                         title='{t}Password{/t}' onFocus="nextfield= 'login';" />
                </div>  
                <div style='text-align:center; padding:15px;'>
index ffae9c3acfe02284686b969037543e9f8efe8686..e7a3b87f3446fe55b2ceabae29a952fb4603e8c3 100644 (file)
@@ -67,7 +67,7 @@
       <tr>
        <td>{t}Username{/t}</td>
        <td>{if $display_username}
-           <input type='text' name='uid' maxlength='25' value='{$uid}' title='{t}Username{/t}' onFocus="nextfield= 'current_password';">
+           <input type='text' name='uid' maxlength='40' value='{$uid}' title='{t}Username{/t}' onFocus="nextfield= 'current_password';">
            {else}
            <i>{$uid}</i>
            {/if}
       </tr>
       <tr>
        <td>{t}Current password{/t}</td>
-       <td><input type='password' name='current_password' maxlength='25' value='' title='{t}Current password{/t}' onFocus="nextfield= 'new_password';"></td>
+       <td><input type='password' name='current_password' maxlength='40' value='' title='{t}Current password{/t}' onFocus="nextfield= 'new_password';"></td>
       </tr>
       <tr>
        <td>{t}New password{/t}</td>
-       <td><input type='password' name='new_password' id="new_password" maxlength='25' value='' title='{t}New password{/t}' onFocus="nextfield= 'new_password_repeated';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
+       <td><input type='password' name='new_password' id="new_password" maxlength='40' value='' title='{t}New password{/t}' onFocus="nextfield= 'new_password_repeated';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
       </tr>
       <tr>
        <td>{t}New password repeated{/t}</td>
-       <td><input type='password' name='new_password_repeated' maxlength='25' value='' title='{t}New password repeated{/t}' onFocus="nextfield= 'apply';"></td>
+       <td><input type='password' name='new_password_repeated' maxlength='40' value='' title='{t}New password repeated{/t}' onFocus="nextfield= 'apply';"></td>
       </tr>
       <tr>
        <td>{t}Password strength{/t}</td>