Disallow using local as username
This commit is contained in:
1 parent
813d1cd38a
commit
463588bb31
1 file changed
+1
-1
@@ -83,7 +83,7 @@ if [[ $VAULT_STATUS -eq 200 ]]; then
|
|||||||
echo "$VAULT_DOMAIN - Login"
|
echo "$VAULT_DOMAIN - Login"
|
||||||
echo "Method: LDAP"
|
echo "Method: LDAP"
|
||||||
|
|
||||||
if [[ -z $USER || $USER == "root" ]]; then
|
if [[ -z $USER || $USER == "root" || $USER == "local" ]]; then
|
||||||
echo -n "Username: "
|
echo -n "Username: "
|
||||||
read USERNAME
|
read USERNAME
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user