diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6da4321..22b9bf5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: NC3_BUILD_DIR: "/opt/nc3" NC3_DOCKER_DIR: "/opt/docker" NC3_GIT_URL: "git://github.com/NetCommons3/NetCommons3.git" - NC3_GIT_BRANCH: "master" + NC3_GIT_BRANCH: "availability" PLUGIN_BUILD_DIR: ${{ github.workspace }} PHP_VERSION: ${{ matrix.php }} MYSQL_VERSION: ${{ matrix.mysql }} diff --git a/Model/Behavior/SaveUserBehavior.php b/Model/Behavior/SaveUserBehavior.php index d3b2bc1..dc6c06c 100644 --- a/Model/Behavior/SaveUserBehavior.php +++ b/Model/Behavior/SaveUserBehavior.php @@ -414,7 +414,9 @@ public function updateLoginTime(Model $model, $userId) { if (! $model->updateAll($update, $conditions)) { throw new InternalErrorException(__d('net_commons', 'Internal Server Error')); } + $model->invalidateCDN = false; $model->commit(); + $model->invalidateCDN = true; } catch (Exception $ex) { $model->rollback($ex);