Skip to content

Commit

Permalink
Merge branch 'main' into feat/task-processing
Browse files Browse the repository at this point in the history
  • Loading branch information
bigcat88 authored Jun 28, 2024
2 parents 26cb328 + a7ecfa7 commit 4268d96
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/analysis-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
fail-fast: false
matrix:
include:
- nextcloud: "27.1.4"
- nextcloud: "27.1.11"
python: "3.10"
php-version: "8.1"
timeout-minutes: 60

services:
mariadb:
image: mariadb:11.3
image: mariadb:11.4
env:
MARIADB_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: nextcloud
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
fail-fast: false
matrix:
include:
- nextcloud: "27.1.4"
- nextcloud: "27.1.11"
python: "3.11"
php-version: "8.2"
env:
Expand Down Expand Up @@ -461,7 +461,7 @@ jobs:

services:
mariadb:
image: mariadb:11.3
image: mariadb:11.4
env:
MARIADB_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: nextcloud
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
rev: v0.4.10
hooks:
- id: ruff

Expand Down
6 changes: 3 additions & 3 deletions tests/data/nc_pass_confirm.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
diff --git a/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php b/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php
index a72a7a40016..c6738de65df 100644
index 5ff9d7386da..04edf4e9991 100644
--- a/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php
+++ b/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php
@@ -88,7 +88,7 @@ class PasswordConfirmationMiddleware extends Middleware {
@@ -93,7 +93,7 @@ class PasswordConfirmationMiddleware extends Middleware {

$lastConfirm = (int) $this->session->get('last-password-confirm');
// we can't check the password against a SAML backend, so skip password confirmation in this case
// TODO: confirm excludedUserBackEnds can go away and remove it
- if (!isset($this->excludedUserBackEnds[$backendClassName]) && $lastConfirm < ($this->timeFactory->getTime() - (30 * 60 + 15))) { // allow 15 seconds delay
+ if (!isset($this->excludedUserBackEnds[$backendClassName]) && $lastConfirm < ($this->timeFactory->getTime() - 5)) { // allow 5 seconds delay
throw new NotConfirmedException();
Expand Down

0 comments on commit 4268d96

Please sign in to comment.