diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-01-22 12:00:32 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-01-22 13:55:22 +0100 |
commit | 378f116a63ede40b685518641c5333945f78a918 (patch) | |
tree | 5a69d6df4e6d7030d993337fc1c992831ede1a44 /lib | |
parent | 9f81239033b1c386a1aa026632b63cbeb8f14df8 (diff) | |
download | nextcloud-server-378f116a63ede40b685518641c5333945f78a918.tar.gz nextcloud-server-378f116a63ede40b685518641c5333945f78a918.zip |
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.php | 2 |
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(); |