From 06a5cf70f723b95e46beb2f1b167ec9a6db9b079 Mon Sep 17 00:00:00 2001 From: Florin Peter Date: Wed, 1 May 2013 02:01:16 +0200 Subject: [PATCH] fix duplicate login behavior if user not setup --- apps/files_encryption/hooks/hooks.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php index 25c2d091c4b..67d289ad68a 100644 --- a/apps/files_encryption/hooks/hooks.php +++ b/apps/files_encryption/hooks/hooks.php @@ -52,7 +52,9 @@ class Hooks { \OC_Log::write( 'Encryption library', 'User account "' . $params['uid'] . '" is not ready for encryption; configuration started', \OC_Log::DEBUG ); - return $util->setupServerSide( $params['password'] ); + if(!$util->setupServerSide( $params['password'] )) { + return false; + } } -- 2.39.5