From 378f116a63ede40b685518641c5333945f78a918 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 22 Jan 2021 12:00:32 +0100 Subject: Do not show 2FA settings if the user has no providers available Signed-off-by: Christoph Wurst --- lib/public/Settings/ISettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public') diff --git a/lib/public/Settings/ISettings.php b/lib/public/Settings/ISettings.php index 3178dd8c573..a7bae53e3bf 100644 --- a/lib/public/Settings/ISettings.php +++ b/lib/public/Settings/ISettings.php @@ -38,7 +38,7 @@ interface ISettings { public function getForm(); /** - * @return string the section ID, e.g. 'sharing' + * @return string|null the section ID, e.g. 'sharing' or null to not show the setting * @since 9.1 */ public function getSection(); -- cgit v1.2.3