diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-03-09 13:38:30 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-03-31 21:52:01 +0200 |
commit | f04f34b94b7e61f9d11fc07608d7eb2ae2163de8 (patch) | |
tree | 2d2a3aa6551b3c927788999fc0be8ed9bbe39ab8 /lib/private/Authentication/Login | |
parent | 09d56e9d3db7893a73b32d7cc420dcb450f1bb79 (diff) | |
download | nextcloud-server-f04f34b94b7e61f9d11fc07608d7eb2ae2163de8.tar.gz nextcloud-server-f04f34b94b7e61f9d11fc07608d7eb2ae2163de8.zip |
Make password nullable in LoginData
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Authentication/Login')
-rw-r--r-- | lib/private/Authentication/Login/LoginData.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Authentication/Login/LoginData.php b/lib/private/Authentication/Login/LoginData.php index 3249c44a29a..ec8ebdbab46 100644 --- a/lib/private/Authentication/Login/LoginData.php +++ b/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; } |