aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Settings/Personal
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/lib/Settings/Personal')
-rw-r--r--apps/settings/lib/Settings/Personal/Security/Password.php (renamed from apps/settings/lib/Settings/Personal/Security.php)7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/settings/lib/Settings/Personal/Security.php b/apps/settings/lib/Settings/Personal/Security/Password.php
index f571be0c220..91d8b9228e8 100644
--- a/apps/settings/lib/Settings/Personal/Security.php
+++ b/apps/settings/lib/Settings/Personal/Security/Password.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2017 Arthur Schiwon <blizzz@arthur-schiwon.de>
*
@@ -25,13 +26,13 @@
*
*/
-namespace OCA\Settings\Personal;
+namespace OCA\Settings\Personal\Security;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IUserManager;
use OCP\Settings\ISettings;
-class Security implements ISettings {
+class Password implements ISettings {
/** @var IUserManager */
private $userManager;
@@ -52,7 +53,7 @@ class Security implements ISettings {
$passwordChangeSupported = $user->canChangePassword();
}
- return new TemplateResponse('settings', 'settings/personal/security', [
+ return new TemplateResponse('settings', 'settings/personal/security/password', [
'passwordChangeSupported' => $passwordChangeSupported,
]);
}