diff --git a/src/modules/auth/doc/auth_functions.xml b/src/modules/auth/doc/auth_functions.xml index 0f56d0b0b73..581509ee3a9 100644 --- a/src/modules/auth/doc/auth_functions.xml +++ b/src/modules/auth/doc/auth_functions.xml @@ -11,7 +11,7 @@
Functions - +
<function>consume_credentials()</function> @@ -32,7 +32,7 @@ ... if (www_authenticate("realm", "subscriber")) { consume_credentials(); -}; +} ... @@ -122,6 +122,7 @@ if (has_credentials("myrealm")) { ... if (!www_authenticate("$td", "subscriber")) { www_challenge("$td", "1"); + exit; } ... @@ -152,7 +153,8 @@ if (!www_authenticate("$td", "subscriber")) { ... if (!proxy_authenticate("$fd", "subscriber")) { proxy_challenge("$fd", "1"); -}; + exit; +} ... @@ -181,7 +183,8 @@ if (!proxy_authenticate("$fd", "subscriber")) { ... if (!auth_check("$fd", "subscriber", "1")) { auth_challenge("$fd", "1"); -}; + exit; +} ... @@ -295,7 +298,8 @@ if (!auth_check("$fd", "subscriber", "1")) { ... if (!pv_www_authenticate("$td", "123abc", "0")) { www_challenge("$td", "1"); -}; + exit; +} ... @@ -329,7 +333,8 @@ if (!pv_www_authenticate("$td", "123abc", "0")) { $avp(password)="xyz"; if (!pv_proxy_authenticate("$fd", "$avp(password)", "0")) { proxy_challenge("$fd", "1"); -}; + exit; +} ... @@ -372,8 +377,9 @@ if (!pv_proxy_authenticate("$fd", "$avp(password)", "0")) { ... $avp(password)="xyz"; if (!pv_auth_check("$fd", "$avp(password)", "0", "1")) { - proxy_challenge("$fd", "1"); -}; + auth_challenge("$fd", "1"); + exit; +} ...