Changeset 32252
- Timestamp:
- 10/21/09 02:50:58 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/inscription2/inscription2_2_0/formulaires/inscription2.php
r32173 r32252 294 294 if (strlen(_request('password')) != 0) 295 295 $new_pass = _request('password'); 296 else297 $new_pass = _request('pass');298 if (strlen($new_pass) ) {296 297 298 if (strlen($new_pass)>0) { 299 299 include_spip('inc/acces'); 300 300 $htpass = generer_htpass($new_pass); … … 308 308 $val['low_sec'] = ''; 309 309 } 310 310 311 if(!is_numeric($id_auteur)){ 311 312 $val['statut'] = lire_config('inscription2/statut_nouveau','6forum'); … … 315 316 $val['statut'] = 'aconfirmer'; 316 317 } 318 } 319 $pass_length = strlen($val['pass']); 320 if($pass_length == 0){ 321 unset($val['pass']); 317 322 } 318 323
