diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-18 21:15:11 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-19 10:52:22 +0100 |
commit | 40a70ecf7906ce9ee631d237b4af6c21f5930a0f (patch) | |
tree | e3b6829e7ccb03877df4b23c835bef16101c134b /apps/files_external/lib/smb.php | |
parent | e0dada704cebb0a61f6fd8e845f0d8865a373672 (diff) | |
download | nextcloud-server-40a70ecf7906ce9ee631d237b4af6c21f5930a0f.tar.gz nextcloud-server-40a70ecf7906ce9ee631d237b4af6c21f5930a0f.zip |
Added password obfuscation for external storage config
Added obfuscation for all "password" options from external storages.
Added unit tests for reading/writing the configuration.
Diffstat (limited to 'apps/files_external/lib/smb.php')
-rw-r--r-- | apps/files_external/lib/smb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php index c5fba92ee68..f3f3b3ed7f3 100644 --- a/apps/files_external/lib/smb.php +++ b/apps/files_external/lib/smb.php @@ -37,7 +37,7 @@ class SMB extends \OC\Files\Storage\StreamWrapper{ $this->share = substr($this->share, 0, -1); } } else { - throw new \Exception(); + throw new \Exception('Invalid configuration'); } } |