Zhang Huangbin avatar Zhang Huangbin committed f7e47c5

Get random password with max password length.

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>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.