diff options
| author | 2023-12-20 16:36:55 +0100 | |
|---|---|---|
| committer | 2023-12-20 16:36:55 +0100 | |
| commit | 79604aa4b3051f083d1734bd9e82c6a89d785c5a (patch) | |
| tree | b0b239c679191cfc6768eb437e851ab26679e329 /app/install.php | |
| parent | a80a5f48a16e7d232168a7aaa68e9a1804235ce1 (diff) | |
Fix login (#5955)
fix https://github.com/FreshRSS/FreshRSS/issues/5953
Regression due to https://github.com/FreshRSS/FreshRSS/pull/5946
Diffstat (limited to 'app/install.php')
| -rw-r--r-- | app/install.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/install.php b/app/install.php index b4da2911f..7703b3840 100644 --- a/app/install.php +++ b/app/install.php @@ -551,7 +551,7 @@ function printStep2(): void { <div class="form-group"> <label class="group-name" for="host"><?= _t('install.bdd.host') ?></label> <div class="group-controls"> - <input type="text" id="host" name="host" pattern="[0-9A-Z/a-z_.-]{1,64}(:[0-9]{2,5})?" value="<?= + <input type="text" id="host" name="host" pattern="[0-9A-Z/a-z_.\-]{1,64}(:[0-9]{2,5})?" value="<?= $_SESSION['bd_host'] ?? $system_default_config->db['host'] ?? '' ?>" tabindex="2" /> </div> </div> @@ -559,7 +559,7 @@ function printStep2(): void { <div class="form-group"> <label class="group-name" for="user"><?= _t('install.bdd.username') ?></label> <div class="group-controls"> - <input type="text" id="user" name="user" maxlength="64" pattern="[0-9A-Za-z@_.-]{1,64}" value="<?= + <input type="text" id="user" name="user" maxlength="64" pattern="[0-9A-Za-z@_.\-]{1,64}" value="<?= $_SESSION['bd_user'] ?? '' ?>" tabindex="3" /> </div> </div> @@ -578,7 +578,7 @@ function printStep2(): void { <div class="form-group"> <label class="group-name" for="base"><?= _t('install.bdd') ?></label> <div class="group-controls"> - <input type="text" id="base" name="base" maxlength="64" pattern="[0-9A-Za-z_-]{1,64}" value="<?= + <input type="text" id="base" name="base" maxlength="64" pattern="[0-9A-Za-z_\-]{1,64}" value="<?= $_SESSION['bd_base'] ?? '' ?>" tabindex="6" /> </div> </div> |
