Fix bug remember me with multiple dbs disabled
This commit is contained in:
parent
401a60c7a7
commit
8c47ae3750
@ -229,7 +229,7 @@ function decode_cookie($value)
|
|||||||
{
|
{
|
||||||
@list($database, $token, $sequence) = explode('|', $value);
|
@list($database, $token, $sequence) = explode('|', $value);
|
||||||
|
|
||||||
if (! DatabaseModel\select(base64_decode($database))) {
|
if (ENABLE_MULTIPLE_DB && ! DatabaseModel\select(base64_decode($database))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user