Changeset 1343
- Timestamp:
- 04/01/08 23:05:56 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wifidog-auth/CHANGELOG
r1342 r1343 1 1 # $Id$ 2 3 2008-04-02 Robin Jones 4 * Fixed #325 password validation 5 * Added a new banner for the install script 6 2 7 2008-04-01 Benoit Grégoire <bock@step.polymtl.ca> 3 8 * Apply patch from dc.ml@oxys.net to allow commas in authentication parameter strings. This is sometimes necessary for LDAP, and fixes #342 4 9 5 10 2008-03-31 Robin Jones 6 * Minor install script improvements, including making changelog accessible and colour in the permissions tables11 * Minor install script improvements, including making changelog accessible and colour in the permissions tables 7 12 8 13 2008-03-21 Benoit Grégoire <bock@step.polymtl.ca> trunk/wifidog-auth/wifidog/install.php
r1341 r1343 119 119 } 120 120 </SCRIPT> 121 121 <script src="js/formutils.js" type="text/javascript"></script> 122 122 <link rel="stylesheet" type="text/css" href="media/base_theme/stylesheet.css" /> 123 123 </HEAD> … … 183 183 184 184 <div id="main_area_top"> 185 <table align="center"><tr><td><img src="media/base_theme/images/wifidog_ logo_banner.png" /></td></tr></table>185 <table align="center"><tr><td><img src="media/base_theme/images/wifidog_install_banner.png" /></td></tr></table> 186 186 </div> 187 187 <div id="main_area_middle"> … … 558 558 refreshButton(); 559 559 navigation(array(array("title" => "Back", "page" => "Database"))); 560 die();560 #die(); - causes inability go go back and change values 561 561 break; 562 562 } … … 884 884 </table> 885 885 886 <script type="text/javascript"> // TODO: check whether user already exists 887 function submitValue() { 888 if (document.myform.username.value == '') { 886 <script type="text/javascript"> 887 888 889 function submitValue() { 890 891 if (isEmpty(document.myform.username)) { 889 892 alert('Please enter a username'); 890 893 exit(); … … 894 897 exit(); 895 898 } 896 if (document.myform.password.value == '') {899 if (isEmpty(document.myform.password)) { 897 900 alert('Please enter a valid password'); 898 901 exit(); 899 902 } 900 re = /^[0-9a-zA-Z]{6,}$/; 901 if (!re.test(document.myform.password.value)) {903 904 if (!isValidPassword(document.myform.password)) { 902 905 alert('Your password does not meet complexity requirements. 6 letters and/or numbers '); 903 906 exit(); 904 907 } 905 908 906 if (document.myform.email.value == '') {909 if (!isValidEmail(document.myform.email)) { 907 910 alert('Please enter a valid email address'); 908 911 exit(); 909 912 } 910 document.myform.page.value='admin';911 document.myform.action.value='create';912 document.myform.submit();913 document.myform.page.value='admin'; 914 document.myform.action.value='create'; 915 document.myform.submit(); 913 916 } 914 917 </script>
