From b8bfa48855956a8f15241b4efe17b47b5e683a2e Mon Sep 17 00:00:00 2001 From: Swikriti Tripathi Date: Tue, 17 Oct 2023 16:51:47 +0545 Subject: [PATCH] [#50431] Project folders setup: password is missing https://community.openproject.org/work_packages/50431 Signed-off-by: Swikriti Tripathi --- lib/Service/OpenProjectAPIService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/OpenProjectAPIService.php b/lib/Service/OpenProjectAPIService.php index 04e957172..0cd6bd138 100644 --- a/lib/Service/OpenProjectAPIService.php +++ b/lib/Service/OpenProjectAPIService.php @@ -1108,7 +1108,7 @@ private function isGroupfolderAppCorrectlySetup():bool { public function generateAppPasswordTokenForUser(): string { $user = $this->userManager->get(Application::OPEN_PROJECT_ENTITIES_NAME); $userID = $user->getUID(); - $token = $this->random->generate(72, ISecureRandom::CHAR_UPPER.ISecureRandom::CHAR_LOWER.ISecureRandom::CHAR_DIGITS); + $token = $this->random->generate(72, ISecureRandom::CHAR_UPPER.ISecureRandom::CHAR_LOWER.ISecureRandom::CHAR_DIGITS.ISecureRandom::CHAR_SYMBOLS); $generatedToken = $this->tokenProvider->generateToken( $token, $userID,