diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-09-09 22:12:29 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-09-10 16:22:41 +0200 |
commit | 41cbb05aea2a48291825d5b3879a866300f5bcec (patch) | |
tree | d399dc52e470d132ebd1ed938d75703d3ff49a20 /settings/templates | |
parent | 15e16d4a857fbf4152a94900b2abda60da87603d (diff) | |
download | nextcloud-server-41cbb05aea2a48291825d5b3879a866300f5bcec.tar.gz nextcloud-server-41cbb05aea2a48291825d5b3879a866300f5bcec.zip |
Split personal security settings in code
Instead of one big monolitic sections this is the first step in breaking
down the settings. This should make is easiet to see what does what. As
well as nicely splitting up the sections.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/settings/personal/security.php | 1 | ||||
-rw-r--r-- | settings/templates/settings/personal/security/authtokens.php | 31 |
2 files changed, 31 insertions, 1 deletions
diff --git a/settings/templates/settings/personal/security.php b/settings/templates/settings/personal/security.php index 8346c558037..e72b443f59b 100644 --- a/settings/templates/settings/personal/security.php +++ b/settings/templates/settings/personal/security.php @@ -104,4 +104,3 @@ if($_['passwordChangeSupported']) { </ul> </div> -<div id="security" class="section"></div> diff --git a/settings/templates/settings/personal/security/authtokens.php b/settings/templates/settings/personal/security/authtokens.php new file mode 100644 index 00000000000..1db0d91fe69 --- /dev/null +++ b/settings/templates/settings/personal/security/authtokens.php @@ -0,0 +1,31 @@ +<?php +declare(strict_types=1); +/** + * @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl> + * + * @author Roeland Jago Douma <roeland@famdouma.nl> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +script('settings', [ + 'vue-settings-personal-security', +]); + +?> + +<div id="security-authtokens" class="section"></div> |