Fix #5282: On account creation, registration form has HTML tag set with English language (#5283)

This commit is contained in:
Marc Farré 2021-09-10 18:45:06 +02:00 committed by GitHub
parent 0dae9fc471
commit 20f4e63736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -18,3 +18,4 @@
- Fix #5143: Unlimited page size for profile fields
- Enh #5269: Allow to add new item on ui selector
- Enh #5005: Possibility to invite a registered user to a space by email
- Fix #5282: On account creation, registration form has HTML tag set with English language

View File

@ -11,7 +11,7 @@ AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="en">
<html lang="<?= Yii::$app->language ?>">
<head>
<title><?= Html::encode($this->pageTitle); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">