astguiclient login

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

astguiclient login

Postby gardo » Thu Oct 05, 2006 12:33 am

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?
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby mflorell » Thu Oct 05, 2006 1:56 am

SCRATCH_INSTALL is incorrect, what version are you referring to?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gardo » Thu Oct 05, 2006 3:56 am

I'm using astguiclient-2.0.1. What can you recommend so that only agents with user level 4 or higher can login?
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby mflorell » Thu Oct 05, 2006 5:24 am

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
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Thu Oct 05, 2006 6:06 am

please post on support section next time.. thanks
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am


Return to Support

Who is online

Users browsing this forum: No registered users and 119 guests