Skip to content

Commit

Permalink
Fix typo in the doc examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-iancu committed Jun 19, 2014
1 parent 56a01fa commit a550b90
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/auth/README
Expand Up @@ -474,7 +474,7 @@ append_rpid_hf("", ";party=calling;id-type=subscriber;screen=yes");
...
$var(username)="abc";
$avp(password)="xyz";
if (pv_www_authorize("opensips.org")) {
if (!pv_www_authorize("opensips.org")) {
www_challenge("opensips.org", "1");
};
...
Expand Down
2 changes: 1 addition & 1 deletion modules/auth/doc/auth_admin.xml
Expand Up @@ -583,7 +583,7 @@ append_rpid_hf("", ";party=calling;id-type=subscriber;screen=yes");
...
$var(username)="abc";
$avp(password)="xyz";
if (pv_www_authorize("opensips.org")) {
if (!pv_www_authorize("opensips.org")) {
www_challenge("opensips.org", "1");
};
...
Expand Down
2 changes: 1 addition & 1 deletion modules/auth_db/README
Expand Up @@ -280,7 +280,7 @@ modparam("auth_db", "skip_version_check", 1)

Example 1.10. www_authorize usage
...
if (www_authorize("siphub.net", "subscriber")) {
if (!www_authorize("siphub.net", "subscriber")) {
www_challenge("siphub.net", "1");
};
...
Expand Down
2 changes: 1 addition & 1 deletion modules/auth_db/doc/auth_db_admin.xml
Expand Up @@ -342,7 +342,7 @@ modparam("auth_db", "skip_version_check", 1)
<title><function moreinfo="none">www_authorize</function> usage</title>
<programlisting format="linespecific">
...
if (www_authorize("siphub.net", "subscriber")) {
if (!www_authorize("siphub.net", "subscriber")) {
www_challenge("siphub.net", "1");
};
...
Expand Down

0 comments on commit a550b90

Please sign in to comment.