jocxfin / pwgen

Simple self hosted password generator
GNU Affero General Public License v3.0
53 stars 3 forks source link

[BUG] Passphrase separators have incorrect values #73

Closed jocxfin closed 6 months ago

jocxfin commented 6 months ago

Describe the bug

Some smart kid has put the value for Dash to be space.

              <div id="checkbox-wrapper">
                    <label for="separator">Separator:</label>
                    <select id="separator">
                        <option value="space">Dash</option>
                        <option value="number">Random Number</option>
                        <option value="special">Random Special Character</option>
                        <option value="custom">User Defined</option>
                    </select>
                    <input type="text" id="customSeparator" placeholder="Enter custom separator" style="display: none;">
                </div>

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.