Don't include training carriage return on passwords
This commit is contained in:
parent
a68af68705
commit
e6d1ec9a9a
@ -51,7 +51,7 @@ function enforce_good_passwords {
|
||||
}
|
||||
|
||||
function create_password {
|
||||
openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${1} ; echo ''
|
||||
openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${1} ; echo -n ''
|
||||
}
|
||||
|
||||
# NOTE: deliberately no exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user