diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-01-22 18:26:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 18:26:17 +0300 |
commit | 1d2707ad782876482354c2dbc1f6b396b0954043 (patch) | |
tree | 0e61b7d9846fad07dfdc7e303cf2b955d1d66cd6 /lib/public | |
parent | 47b10c3775cf3d431ec8375285c1c607e209bc96 (diff) | |
parent | 378f116a63ede40b685518641c5333945f78a918 (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/public')
-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(); |