changed main username from vesta to admin

This commit is contained in:
Serghey Rodin 2012-02-18 22:12:16 +02:00
commit b9c9170f69
11 changed files with 18 additions and 18 deletions

View file

@ -102,7 +102,7 @@ is_ip_avalable() {
ip_status=$(echo "$ip_data" | grep 'STATUS=' | cut -f 2 -d \' )
# Parsing user data
if [ 'vesta' = "$ip_owner" ] && [ "$ip_status" = 'shared' ]; then
if [ 'admin' = "$ip_owner" ] && [ "$ip_status" = 'shared' ]; then
ip_shared='yes'
else
ip_shared='no'

View file

@ -153,7 +153,7 @@ format_validation() {
if [ -z "$check_at" ] ||\
[ -z "$check_dt" ] ||\
[ "${#check_dt}" -lt 2 ] &&\
[ "$val" != 'vesta@localhost' ]; then
[ "$val" != 'admin@localhost' ]; then
echo "Error: email format is wrong"
log_event 'debug' "$E_INVALID $V_EVENT"
exit $E_INVALID