From 40a70ecf7906ce9ee631d237b4af6c21f5930a0f Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 18 Mar 2014 21:15:11 +0100 Subject: Added password obfuscation for external storage config Added obfuscation for all "password" options from external storages. Added unit tests for reading/writing the configuration. --- apps/files_external/lib/smb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_external/lib/smb.php') 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'); } } -- cgit v1.2.3