Revision 1804
Added by Luisehahne almost 13 years ago
| save.php | ||
|---|---|---|
| 15 | 15 |
* |
| 16 | 16 |
*/ |
| 17 | 17 |
|
| 18 |
// Print admin header |
|
| 19 |
require('../../config.php');
|
|
| 20 |
require_once(WB_PATH.'/framework/class.admin.php'); |
|
| 18 |
$config_file = realpath('../../config.php');
|
|
| 19 |
if(file_exists($config_file) && !defined('WB_URL'))
|
|
| 20 |
{
|
|
| 21 |
require_once($config_file); |
|
| 22 |
} |
|
| 23 |
|
|
| 24 |
if(!class_exists('admin', false)){ include(WB_PATH.'/framework/class.admin.php'); }
|
|
| 25 |
|
|
| 21 | 26 |
// suppress to print the header, so no new FTAN will be set |
| 22 | 27 |
$admin = new admin('Access', 'users_modify', false);
|
| 23 | 28 |
|
| ... | ... | |
| 64 | 69 |
$MESSAGE['USERS_USERNAME_TOO_SHORT'], $js_back); |
| 65 | 70 |
} |
| 66 | 71 |
if($password != "") {
|
| 67 |
if(strlen($password) < 2) {
|
|
| 72 |
if(strlen($password) < 6 ) {
|
|
| 68 | 73 |
$admin->print_error($MESSAGE['USERS_PASSWORD_TOO_SHORT'], $js_back); |
| 69 | 74 |
} |
| 70 | 75 |
if($password != $password2) {
|
Also available in: Unified diff
! add delete Outdated Confirmations in backend
! show waiting Activations if exists in user management
! security fixes in admin/preferences/
! update form modul, change text "unknown#" to "Guest"
in view_submission and emailheader email_fromname