Procházet zdrojové kódy

Make password nullable in LoginData

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v19.0.0beta1
Roeland Jago Douma před 4 roky
rodič
revize
f04f34b94b
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      lib/private/Authentication/Login/LoginData.php

+ 2
- 2
lib/private/Authentication/Login/LoginData.php Zobrazit soubor

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


Načítá se…
Zrušit
Uložit