Revision 1330
Added by Luisehahne over 15 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.1 ------------------------------------- |
| 14 | 14 |
18-Apr-2010 Dietmar Woellbrink (Luisehahne) |
| 15 |
! update class.login.php |
|
| 16 |
18-Apr-2010 Dietmar Woellbrink (Luisehahne) |
|
| 15 | 17 |
! Validation fix in preference |
| 16 | 18 |
18-Apr-2010 Dietmar Woellbrink (Luisehahne) |
| 17 | 19 |
# fixed directory_list |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 52 | 52 |
|
| 53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.x');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1329');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1330');
|
|
| 56 | 56 |
|
| 57 | 57 |
?> |
| branches/2.8.x/wb/framework/class.login.php | ||
|---|---|---|
| 139 | 139 |
} |
| 140 | 140 |
} |
| 141 | 141 |
} |
| 142 |
|
|
| 142 |
|
|
| 143 | 143 |
// Authenticate the user (check if they exist in the database) |
| 144 | 144 |
function authenticate() {
|
| 145 | 145 |
global $database; |
| ... | ... | |
| 151 | 151 |
$results = $database->query($query); |
| 152 | 152 |
$results_array = $results->fetchRow(); |
| 153 | 153 |
$num_rows = $results->numRows(); |
| 154 |
if($num_rows) {
|
|
| 154 |
if($num_rows == 1) {
|
|
| 155 | 155 |
$user_id = $results_array['user_id']; |
| 156 | 156 |
$this->user_id = $user_id; |
| 157 | 157 |
$_SESSION['USER_ID'] = $user_id; |
Also available in: Unified diff
update class.login.php