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:
authorMorris Jobke <hey@morrisjobke.de>2021-01-22 18:26:17 +0300
committerGitHub <noreply@github.com>2021-01-22 18:26:17 +0300
commit1d2707ad782876482354c2dbc1f6b396b0954043 (patch)
tree0e61b7d9846fad07dfdc7e303cf2b955d1d66cd6 /lib
parent47b10c3775cf3d431ec8375285c1c607e209bc96 (diff)
parent378f116a63ede40b685518641c5333945f78a918 (diff)
Merge pull request #25273 from nextcloud/enhancement/hide-two-factor-settings-if-no-providers
Do not show 2FA settings if the user has no providers available
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();