mirror of
https://github.com/octoleo/Purse.git
synced 2024-12-28 03:45:04 +00:00
Don't evaluate \ when reading username
This allows entering Microsoft Domain users like DOMAIN\USER.
This commit is contained in:
parent
744f9b2a68
commit
b2ac781092
4
pwd.sh
4
pwd.sh
@ -74,7 +74,7 @@ read_pass () {
|
||||
fi
|
||||
|
||||
if [[ -z "${2+x}" ]] ; then
|
||||
read -p "
|
||||
read -r -p "
|
||||
Username to read? (default: all) " username
|
||||
else
|
||||
username="${2}"
|
||||
@ -146,7 +146,7 @@ create_username () {
|
||||
# Create username with password.
|
||||
|
||||
if [[ -z "${2+x}" ]] ; then
|
||||
read -p "
|
||||
read -r -p "
|
||||
Username: " username
|
||||
else
|
||||
username="${2}"
|
||||
|
Loading…
Reference in New Issue
Block a user