瀏覽代碼

Make password nullable in LoginData

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v19.0.0beta1
Roeland Jago Douma 4 年之前
父節點
當前提交
f04f34b94b
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      lib/private/Authentication/Login/LoginData.php

+ 2
- 2
lib/private/Authentication/Login/LoginData.php 查看文件

@@ -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…
取消
儲存