[Users] I need save("location") but with some change ...

Bodin Bruno bbodin01 at univ-lr.fr
Mon Mar 26 16:53:45 CEST 2007


Hello,
I currently use this code :

if (is_method("REGISTER"))
{
            if (!radius_www_authorize("mydomain"))
            {
                www_challenge("mydomain", "0");
                exit;
            };
            xlog("new user : $au");
            save("location")) ;
            exit;
};

But save function add a new item in location table with these param :
Username, domain, contact ....user_agent, socket, methods.

Username use by register module isn't Authentification's username how 
can I change it ?
Is it possible to add more location for a user ? ( Like username and 
numer phone )

Thank for your help.






More information about the sr-users mailing list