Commits

Zhang Huangbin committed f7e47c5

Get random password with max password length.

  • Participants
  • Parent commits 0a05ebc

Comments (0)

Files changed (4)

templates/default/dbmail_mysql/admin/create.html

 
             <div class="box-wrap clear">
                 <div class="col1-3 lastcol">
-                    {{ display_random_password(min_passwd_length) }}
+                    {{ display_random_password(max_passwd_length) }}
                 </div>
             </div>
         </div>

templates/default/dbmail_mysql/admin/profile.html

                         </div>
 
                         <div class="col1-4 lastcol">
-                            {{ display_random_password(min_passwd_length) }}
+                            {{ display_random_password(max_passwd_length) }}
                         </div>
                     </div>
 

templates/default/dbmail_mysql/user/create.html

                         </div>{# .col2-3 #}
 
                         <div class="col1-4 lastcol">
-                            {{ display_random_password(profile.minpasswordlength) }}
+                            {{ display_random_password(profile.maxpasswordlength) }}
                         </div>
                     </div>{# .columns #}
 

templates/default/dbmail_mysql/user/profile.html

                             }}
                         </div>
                         <div class="col1-4 lastcol">
-                            {{ display_random_password(minPasswordLength) }}
+                            {{ display_random_password(maxPasswordLength) }}
                         </div>
                     </div>