diff options
| author | 2015-05-10 19:20:46 +0200 | |
|---|---|---|
| committer | 2015-05-10 19:20:46 +0200 | |
| commit | f7a502b06e7b0fe0b8bbc5f41d96d4ea08eee98a (patch) | |
| tree | 7120e7d8a26a6ecc6e72902bf4f44f94cdcc2c1c /app/install.php | |
| parent | 3837e4ced58b699735bfad4ec6d3055999587093 (diff) | |
Cannot create an account with sqlite
https://github.com/FreshRSS/FreshRSS/issues/770
Diffstat (limited to 'app/install.php')
| -rw-r--r-- | app/install.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/install.php b/app/install.php index 177173fdb..5f43b6415 100644 --- a/app/install.php +++ b/app/install.php @@ -741,6 +741,13 @@ function printStep3() { <script> function mySqlShowHide() { document.getElementById('mysql').style.display = document.getElementById('type').value === 'mysql' ? 'block' : 'none'; + if (document.getElementById('type').value !== 'mysql') { + document.getElementById('host').value = ''; + document.getElementById('user').value = ''; + document.getElementById('pass').value = ''; + document.getElementById('base').value = ''; + document.getElementById('prefix').value = ''; + } } mySqlShowHide(); </script> |
