Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-01-22 14:00:32 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-01-22 15:55:22 +0300
commit378f116a63ede40b685518641c5333945f78a918 (patch)
tree5a69d6df4e6d7030d993337fc1c992831ede1a44 /lib
parent9f81239033b1c386a1aa026632b63cbeb8f14df8 (diff)
Do not show 2FA settings if the user has no providers available
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Settings/ISettings.php2
1 files changed, 1 insertions, 1 deletions
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();