Make password nullable in LoginData

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-03-09 13:38:30 +01:00
parent 09d56e9d3d
commit f04f34b94b
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class LoginData {
public function __construct(IRequest $request,
string $username,
string $password,
?string $password,
string $redirectUrl = null,
string $timeZone = '',
string $timeZoneOffset = '') {
@ -80,7 +80,7 @@ class LoginData {
return $this->username;
}
public function getPassword(): string {
public function getPassword(): ?string {
return $this->password;
}