diff --git a/core/modules/user/src/AccountSettingsForm.php b/core/modules/user/src/AccountSettingsForm.php index 263f17a..b9e2c17 100644 --- a/core/modules/user/src/AccountSettingsForm.php +++ b/core/modules/user/src/AccountSettingsForm.php @@ -192,7 +192,17 @@ public function buildForm(array $form, FormStateInterface $form_state) { } // Build the TTL options list for the one-time login link. - $timeout_scale = array(3600, 7200, 14400, 28800, 43200, 86400, 172800, 604800, 1209600); + $timeout_scale = array( + 3600, + 7200, + 14400, + 28800, + 43200, + 86400, + 172800, + 604800, + 1209600, + ); $timeout = array_map(array($this->dateFormatter, 'formatInterval'), array_combine($timeout_scale, $timeout_scale)); // Choose a proper TTL value from the options list (default is 1 day). @@ -207,7 +217,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { '#title' => t('How long will a one-time login link be valid?'), '#options' => $timeout, '#default_value' => $login_link_default_ttl, - '#description' => t('Select how long the one-time login link will be valid. Default is 1 day'), + '#description' => t('Select how long the one-time login link will be valid. Default is 1 day.'), ); // Default notifications address.