aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-11-09 13:46:18 +0100
committerGitHub <noreply@github.com>2023-11-09 13:46:18 +0100
commitb45007f38f1574d60f334a448fa6ba889b191921 (patch)
treeb11e38a1a399c65af236cd57fdff47512337f397 /core/Controller
parenta29ed70c6cac8284f1de029b66b2798b6a16d519 (diff)
parent2606a566b293f9b6418f05fabf024ecff00716c1 (diff)
downloadnextcloud-server-b45007f38f1574d60f334a448fa6ba889b191921.tar.gz
nextcloud-server-b45007f38f1574d60f334a448fa6ba889b191921.zip
Merge branch 'master' into enh/text-processing-iprovider2
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/LoginController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php
index 39ffcc81ac1..4f754204132 100644
--- a/core/Controller/LoginController.php
+++ b/core/Controller/LoginController.php
@@ -64,6 +64,7 @@ use OCP\Util;
class LoginController extends Controller {
public const LOGIN_MSG_INVALIDPASSWORD = 'invalidpassword';
public const LOGIN_MSG_USERDISABLED = 'userdisabled';
+ public const LOGIN_MSG_CSRFCHECKFAILED = 'csrfCheckFailed';
public function __construct(
?string $appName,
@@ -291,7 +292,7 @@ class LoginController extends Controller {
$user,
$user,
$redirect_url,
- $this->l10n->t('Please try again')
+ self::LOGIN_MSG_CSRFCHECKFAILED
);
}