Browse Source

Merge pull request #32685 from nextcloud/fix/external-storage-password-replacement

Fix replacing external storage password during debug log
Vincent Petry 1 year ago
parent
commit
79f8356438
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/private/Authentication/LoginCredentials/Store.php

+ 1 - 1
lib/private/Authentication/LoginCredentials/Store.php

@@ -100,7 +100,7 @@ class Store implements IStore {
 		} catch (SessionNotAvailableException $ex) {
 			$this->logger->debug('could not get login credentials because session is unavailable', ['app' => 'core', 'exception' => $ex]);
 		} catch (InvalidTokenException $ex) {
-			$this->logger->debug('could not get login credentials because the token is invalid: ' . $ex->getMessage(), ['app' => 'core', 'exception' => $ex]);
+			$this->logger->debug('could not get login credentials because the token is invalid: ' . $ex->getMessage(), ['app' => 'core']);
 			$trySession = true;
 		} catch (PasswordlessTokenException $ex) {
 			$this->logger->debug('could not get login credentials because the token has no password', ['app' => 'core', 'exception' => $ex]);