Changeset 4637 for temp/trunk/html/admin/system/input.php
- Timestamp:
- 2006/09/12 15:35:28 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/system/input.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/system/input.php
r4608 r4637 154 154 $sqlval['department'] = $_POST['department']; 155 155 $sqlval['login_id'] = $_POST['login_id']; 156 $sqlval['password'] = crypt($_POST['password']);156 $sqlval['password'] = sha1($_POST['password'] . ":" . AUTH_MAGIC); 157 157 $sqlval['authority'] = $_POST['authority']; 158 158 $sqlval['rank']= $oquery->max("dtb_member", "rank") + 1; … … 174 174 $sqlval['login_id'] = $_POST['login_id']; 175 175 if($_POST['password'] != DUMMY_PASS) { 176 $sqlval['password'] = crypt($_POST['password']);176 $sqlval['password'] = sha1($_POST['password'] . ":" . AUTH_MAGIC); 177 177 } 178 178 $sqlval['authority'] = $_POST['authority'];
Note: See TracChangeset
for help on using the changeset viewer.
