[core] Force generating of new session on login
This improves security because session ID and token are generated fresh for each user.
This commit is contained in:
@@ -112,6 +112,7 @@
|
|||||||
- bug #3042665 [parser] Add workaround for MySQL way of handling backtick.
|
- bug #3042665 [parser] Add workaround for MySQL way of handling backtick.
|
||||||
- bug #3056610 [interface] Removed modification options for information_schema
|
- bug #3056610 [interface] Removed modification options for information_schema
|
||||||
+ patch #3055886 [config] Add Left frame table filter visibility config option, thanks to eesau
|
+ patch #3055886 [config] Add Left frame table filter visibility config option, thanks to eesau
|
||||||
|
- [core] Force generating of new session on login
|
||||||
|
|
||||||
3.3.8.0 (not yet released)
|
3.3.8.0 (not yet released)
|
||||||
- bug #3059311 [import] BIGINT field type added to table analysis
|
- bug #3059311 [import] BIGINT field type added to table analysis
|
||||||
|
@@ -814,6 +814,8 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php';
|
require_once './libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php';
|
||||||
if (!PMA_auth_check()) {
|
if (!PMA_auth_check()) {
|
||||||
|
/* Force generating of new session on login */
|
||||||
|
PMA_secureSession();
|
||||||
PMA_auth();
|
PMA_auth();
|
||||||
} else {
|
} else {
|
||||||
PMA_auth_set_user();
|
PMA_auth_set_user();
|
||||||
|
Reference in New Issue
Block a user