Skip to content

Commit

Permalink
Update LoginService.php
Browse files Browse the repository at this point in the history
change double quotes by simple quotes (related to the previous commit lint job)
  • Loading branch information
mathsyx69 authored Mar 31, 2024
1 parent a3207c1 commit 2020ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/LoginService.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function login(array $profile): array
if (null === $user) {
// Generate random password of 32 characters that meets nextcloud's strictest password policy
$randomPassword = substr(base64_encode(random_bytes(64)), 0, 28);
$password = "aA".$randomPassword."1$";
$password = 'aA'.$randomPassword.'1$';

// Create user. This will throw if creation is not permitted.
$user = $this->createUser($uid, $password);
Expand Down

0 comments on commit 2020ecb

Please sign in to comment.