[Serusers] bugs on alias or save location

Cesc Santasusana cesc.santasusana at nl.thalesgroup.com
Tue May 17 17:36:07 CEST 2005


comment inline

>>> "Edgardo O. Gonzales II" <edgardo.g at pacific.net.ph> 05/17/05 03:19PM >>>
>
>
>route[2] {
>
>         log(1, "REGISTER: Authenticating user\n");
>         if (!radius_www_authorize("")) {
>                 www_challenge("","0");
>                 break; };
>
>         save("aliases"); consume_credentials(); break;

   Why save("aliases")?
   even if you did    if( !save("aliases") ) { save(aliases); consume...; break;} 
   it is not needed. 
   You just need to update the locatioin table, not the aliases.
   Just remove the line.

>
>         if (!save("location")) {
>                 sl_reply_error();
>         };
>}



Unclassified




More information about the sr-users mailing list