diff options
author | Robin Appelman <robin@icewind.nl> | 2020-03-12 19:45:23 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-03-12 19:45:23 +0100 |
commit | 0d112d7901983a568f6a803f59f240afd434db61 (patch) | |
tree | f5e89f7532e42ed660efda197693a5745085906a /apps/files_external/lib/Lib/Auth | |
parent | 24d0fb9fcd8b190b6c16c4608c95785036b1eb31 (diff) | |
download | nextcloud-server-0d112d7901983a568f6a803f59f240afd434db61.tar.gz nextcloud-server-0d112d7901983a568f6a803f59f240afd434db61.zip |
Use placeholder values for password fields in external storage webui
This prevents the password from being sent to the webui.
While an admin will always be able to retrieve the passwords (as they
can do arbitrairy code execution by design) this prevents casual
password snooping
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/lib/Lib/Auth')
-rw-r--r-- | apps/files_external/lib/Lib/Auth/AuthMechanism.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Auth/AuthMechanism.php b/apps/files_external/lib/Lib/Auth/AuthMechanism.php index 891719eebb1..cd8f8242e30 100644 --- a/apps/files_external/lib/Lib/Auth/AuthMechanism.php +++ b/apps/files_external/lib/Lib/Auth/AuthMechanism.php @@ -51,7 +51,6 @@ use OCA\Files_External\Lib\VisibilityTrait; * Object can affect storage mounting */ class AuthMechanism implements \JsonSerializable { - /** Standard authentication schemes */ const SCHEME_NULL = 'null'; const SCHEME_BUILTIN = 'builtin'; |