diff --git a/core/modules/path/path.module b/core/modules/path/path.module
index a9bd9b0..6166b37 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -43,28 +43,24 @@ function path_help($route_name, RouteMatchInterface $route_match) {
  */
 function path_form_node_form_alter(&$form, FormStateInterface $form_state) {
   $node = $form_state->getFormObject()->getEntity();
-  $form['path_settings'] = array(
-    '#type' => 'details',
-    '#title' => t('URL path settings'),
-    '#open' => !empty($form['path']['widget'][0]['alias']['#value']),
-    '#group' => 'advanced',
-    '#access' => !empty($form['path']['#access']) && $node->hasField('path') && $node->get('path')->access('edit'),
-    '#attributes' => array(
-      'class' => array('path-form'),
-    ),
-    '#attached' => array(
-      'library' => array('path/drupal.path'),
-    ),
-    '#weight' => 30,
-  );
-  $form['path']['#group'] = 'path_settings';
+  path_settings_form_element($form);
+}
+
+/**
+ * Implements hook_form_BASE_FORM_ID_alter() for user_form().
+ */
+function path_form_user_form_alter(&$form, $form_state) {
+  $user = $form_state->getFormObject()->getEntity();
+  if ($user->hasField('path') && $user->get('path')->access('edit')) {
+    path_settings_form_element($form);
+  }
 }
 
 /**
  * Implements hook_entity_base_field_info().
  */
 function path_entity_base_field_info(EntityTypeInterface $entity_type) {
-  if ($entity_type->id() === 'taxonomy_term' || $entity_type->id() === 'node') {
+  if ($entity_type->id() === 'taxonomy_term' || $entity_type->id() === 'node' || $entity_type->id() === 'user') {
     $fields['path'] = BaseFieldDefinition::create('path')
       ->setLabel(t('URL alias'))
       ->setTranslatable(TRUE)
@@ -80,6 +76,26 @@ function path_entity_base_field_info(EntityTypeInterface $entity_type) {
 }
 
 /**
+ * Returns form element for path settings.
+ */
+function path_settings_form_element(&$form) {
+  $form['path_settings'] = array(
+    '#type' => 'details',
+    '#title' => t('URL path settings'),
+    '#open' => !empty($form['path']['widget'][0]['alias']['#value']),
+    '#group' => 'advanced',
+    '#attributes' => array(
+      'class' => array('path-form'),
+    ),
+    '#attached' => array(
+      'library' => array('path/drupal.path'),
+    ),
+    '#weight' => 30,
+  );
+  $form['path']['#group'] = 'path_settings';
+}
+
+/**
  * Implements hook_entity_translation_delete().
  */
 function path_entity_translation_delete(EntityInterface $translation) {
