aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IUserManager.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-04 11:23:43 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-04 11:23:43 +0100
commitb4a29644ccfc1acafcfbdb8b7b887df1fe520166 (patch)
tree4725bc96a608f2430c267145232c5b9a42ab835e /lib/public/IUserManager.php
parentce50acd9b2d7acb3f04fd7c7940e821cb3d76a71 (diff)
downloadnextcloud-server-b4a29644ccfc1acafcfbdb8b7b887df1fe520166.tar.gz
nextcloud-server-b4a29644ccfc1acafcfbdb8b7b887df1fe520166.zip
Add a const for the max user password length
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/IUserManager.php')
-rw-r--r--lib/public/IUserManager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index 8caa027468b..151c153917f 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -46,6 +46,12 @@ namespace OCP;
* @since 8.0.0
*/
interface IUserManager {
+
+ /**
+ * @since 26.0.0
+ */
+ public const MAX_PASSWORD_LENGTH = 469;
+
/**
* register a user backend
*