Update reset_admin_password.sh
This commit is contained in:
parent
b11e744abe
commit
4bfe46b13a
|
|
@ -6,7 +6,6 @@ cd "$(dirname "$0")"
|
||||||
#includes
|
#includes
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
. ./colors.sh
|
. ./colors.sh
|
||||||
. ./environment.sh
|
|
||||||
|
|
||||||
#count the users
|
#count the users
|
||||||
admin_users=$(sudo -u postgres psql fusionpbx -Atc "select count(*) from v_users JOIN v_group_users USING (domain_uuid) where username='$system_username' and group_name = 'superadmin'")
|
admin_users=$(sudo -u postgres psql fusionpbx -Atc "select count(*) from v_users JOIN v_group_users USING (domain_uuid) where username='$system_username' and group_name = 'superadmin'")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue