Browse Source

Make password nullable in LoginData

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v19.0.0beta1
Roeland Jago Douma 4 years ago
parent
commit
f04f34b94b
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lib/private/Authentication/Login/LoginData.php

+ 2
- 2
lib/private/Authentication/Login/LoginData.php View File



public function __construct(IRequest $request, public function __construct(IRequest $request,
string $username, string $username,
string $password,
?string $password,
string $redirectUrl = null, string $redirectUrl = null,
string $timeZone = '', string $timeZone = '',
string $timeZoneOffset = '') { string $timeZoneOffset = '') {
return $this->username; return $this->username;
} }


public function getPassword(): string {
public function getPassword(): ?string {
return $this->password; return $this->password;
} }



Loading…
Cancel
Save