<div dir="ltr">Hello,<div><br></div><div>in the block:</div><div><br></div><div><div><font face="monospace, monospace">    if (is_method("REGISTER") || from_uri==myself) {</font></div><div><font face="monospace, monospace">        # authenticate requests</font></div><div><font face="monospace, monospace">        if (!auth_check("$fd", "subscriber", "1")) {</font></div><div><font face="monospace, monospace">            auth_challenge("$fd", "0");</font></div><div><font face="monospace, monospace">            exit;</font></div><div><font face="monospace, monospace">        }</font></div><div><font face="monospace, monospace">        # user authenticated - remove auth header</font></div><div><font face="monospace, monospace">        if(!is_method("REGISTER|PUBLISH"))</font></div><div><font face="monospace, monospace">            consume_credentials();</font></div><div><font face="monospace, monospace">    }</font></div></div><div><br></div><div>I'm trying to print out $au, but it's coming up NULL many times, i don't get why this is. If i remember correctly, the script goes through this block twice, once when we get the REGISTER with no credentials, and once when the REGISTER comes with credentials after the challenge... is this correct?</div><div><br></div><div>i need to know how to catch $au when the authentication is successful...</div><div><br></div><div>help?</div><div><br></div><div>Thanks! </div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=26d4083a-ba19-4817-8a99-39c0f5f67c6f"><font color="#ffffff" size="1">ᐧ</font></div>