Generate both password types up front, then use CSS to swap.

This commit is contained in:
Ian Gulliver
2018-12-04 08:01:22 +00:00
parent b9ed3c9093
commit 1d7becc1da
2 changed files with 43 additions and 26 deletions

View File

@@ -323,6 +323,18 @@ overview,product {
font-size: 1.1em;
}
passwordAlphaNum,passwordWords {
display: none;
}
product.passwords-short passwordAlphaNum {
display: inline;
}
product.passwords-readable passwordWords {
display: inline;
}
passwordSymbols {
color: darkgrey;
border: 1px darkgrey dotted;