From b4a29644ccfc1acafcfbdb8b7b887df1fe520166 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 4 Jan 2023 11:23:43 +0100 Subject: Add a const for the max user password length Signed-off-by: Joas Schilling --- lib/public/IUserManager.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/public/IUserManager.php') 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 * -- cgit v1.2.3