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

@@ -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;
}


Loading…
Cancel
Save