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/i18n/it/conf.php | 1 + app/i18n/it/feedback.php | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'app/i18n/it') diff --git a/app/i18n/it/conf.php b/app/i18n/it/conf.php index 4bdaad33d..6dd390ebd 100644 --- a/app/i18n/it/conf.php +++ b/app/i18n/it/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Gestione profili', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Cancellazione account', 'warn' => 'Il tuo account e tutti i dati associati saranno cancellati.', diff --git a/app/i18n/it/feedback.php b/app/i18n/it/feedback.php index ca7879904..f137de9e8 100644 --- a/app/i18n/it/feedback.php +++ b/app/i18n/it/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Non hai i permessi per accedere a questa pagina', 'not_found' => 'Pagina non disponibile', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Si è verificato un problema alla configurazione del sistema di autenticazione. Per favore riprova più tardi.', -- cgit v1.2.3