From d0f1f9f141a58e090d210c221a7c1745378b96a3 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 3 Dec 2019 23:11:06 +0100 Subject: Separate the update API password endpoint (#2675) * Extract hashPassword method from userController * Extract and refactor fever key-related methods * Move update of API password to dedicated action * Simplify the controller by refactoring feverUtil * Add locales --- app/views/user/profile.phtml | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) (limited to 'app/views/user/profile.phtml') diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml index b8bb5cee9..5357c2bfd 100644 --- a/app/views/user/profile.phtml +++ b/app/views/user/profile.phtml @@ -48,19 +48,6 @@ - api_enabled) { ?> -
- -
-
- /> - -
- -
-
- -
@@ -82,6 +69,30 @@
+ api_enabled) { ?> +
+ + + +
+ +
+
+ /> + +
+ +
+
+ +
+
+ +
+
+
+ +
-- cgit v1.2.3