Page 1 of 1

astguiclient login

PostPosted: Thu Oct 05, 2006 12:33 am
by gardo
According to the SCRATCH_INSTALL.txt, one can only login to http://dialer/agc/astguiclient.php if one has a user level of 4 or greater. How come my test user with level 1 access can login? What's preventing all users from logging in to astguiclient?

PostPosted: Thu Oct 05, 2006 1:56 am
by mflorell
SCRATCH_INSTALL is incorrect, what version are you referring to?

PostPosted: Thu Oct 05, 2006 3:56 am
by gardo
I'm using astguiclient-2.0.1. What can you recommend so that only agents with user level 4 or higher can login?

PostPosted: Thu Oct 05, 2006 5:24 am
by mflorell
edit this line in astguiclient.php and change the 0 to a 3:

$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";


Line 118 astguiclient.php

PostPosted: Thu Oct 05, 2006 6:06 am
by gerski
please post on support section next time.. thanks