diff --git a/core/modules/user/src/AccountSettingsForm.php b/core/modules/user/src/AccountSettingsForm.php
index 2b91877..54d0d65 100644
--- a/core/modules/user/src/AccountSettingsForm.php
+++ b/core/modules/user/src/AccountSettingsForm.php
@@ -166,6 +166,16 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       }
     }
 
+    // Configure one-time login link timeout
+    $form['registration_cancellation']['user_pass_reset_timeout'] = array(
+        '#type' => 'textfield',
+        '#title' => t('How long will a one-time login link be valid?'),
+        '#default_value' => $config->get('user_pass_reset_timeout', 86400),
+        '#description' => t('Time, in seconds, during which a one-time login link will be valid. Defaults to 24 hours (86400 seconds).'),
+        '#maxlength' => 8,
+        '#size' => 8,
+    );
+        
     // Account settings.
     $filter_exists = $this->moduleHandler->moduleExists('filter');
     $form['personalization'] = array(
@@ -436,7 +446,8 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
       ->set('notify.status_activated', $form_state->getValue('user_mail_status_activated_notify'))
       ->set('notify.status_blocked', $form_state->getValue('user_mail_status_blocked_notify'))
       ->set('notify.status_canceled', $form_state->getValue('user_mail_status_canceled_notify'))
-      ->save();
+      ->set('password_reset_timeout', $form_state->getValue('user_pass_reset_timeout'))
+    ->save();
     $this->config('user.mail')
       ->set('cancel_confirm.body', $form_state->getValue('user_mail_cancel_confirm_body'))
       ->set('cancel_confirm.subject', $form_state->getValue('user_mail_cancel_confirm_subject'))
