Completed
Pull Request — master (#25260)
by Christoph
15:23
created
lib/private/User/Session.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 	 * @param IRequest $request
325 325
 	 * @throws LoginException
326 326
 	 * @throws PasswordLoginForbiddenException
327
-	 * @return boolean
327
+	 * @return boolean|null
328 328
 	 */
329 329
 	public function logClientIn($user, $password, IRequest $request) {
330 330
 		$isTokenPassword = $this->isTokenPassword($password);
@@ -364,6 +364,9 @@  discard block
 block discarded – undo
364 364
 		return $this->config->getSystemValue('token_auth_enforced', false);
365 365
 	}
366 366
 
367
+	/**
368
+	 * @param string $username
369
+	 */
367 370
 	protected function isTwoFactorEnforced($username) {
368 371
 		Util::emitHook(
369 372
 			'\OCA\Files_Sharing\API\Server2Server',
@@ -438,6 +441,9 @@  discard block
 block discarded – undo
438 441
 		return false;
439 442
 	}
440 443
 
444
+	/**
445
+	 * @param string $token
446
+	 */
441 447
 	private function loginWithToken($token) {
442 448
 		try {
443 449
 			$dbToken = $this->tokenProvider->getToken($token);
Please login to merge, or discard this patch.