diff --git a/core/modules/user/src/AccountForm.php b/core/modules/user/src/AccountForm.php
index 0bcfad9..f6078cc 100644
--- a/core/modules/user/src/AccountForm.php
+++ b/core/modules/user/src/AccountForm.php
@@ -200,7 +200,7 @@ public function form(array $form, FormStateInterface $form_state) {
     $form['account']['status'] = array(
       '#type' => 'radios',
       '#title' => $this->t('Status'),
-      '#default_value' => $status,
+      '#default_value' => (int) $status,
       '#options' => array($this->t('Blocked'), $this->t('Active')),
       '#access' => $admin,
     );
