[sr-dev] git:master:cf98d1fa: modules: readme files regenerated - auth_xkeys ... [skip ci]
Kamailio Dev
kamailio.dev at kamailio.org
Wed Jun 27 10:47:16 CEST 2018
Module: kamailio
Branch: master
Commit: cf98d1fa997e9b3e818c57d226613a50be0248b1
URL: https://github.com/kamailio/kamailio/commit/cf98d1fa997e9b3e818c57d226613a50be0248b1
Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2018-06-27T10:46:54+02:00
modules: readme files regenerated - auth_xkeys ... [skip ci]
---
Modified: src/modules/auth_xkeys/README
---
Diff: https://github.com/kamailio/kamailio/commit/cf98d1fa997e9b3e818c57d226613a50be0248b1.diff
Patch: https://github.com/kamailio/kamailio/commit/cf98d1fa997e9b3e818c57d226613a50be0248b1.patch
---
diff --git a/src/modules/auth_xkeys/README b/src/modules/auth_xkeys/README
index d9e7bb9162..effcb25e6f 100644
--- a/src/modules/auth_xkeys/README
+++ b/src/modules/auth_xkeys/README
@@ -171,7 +171,7 @@ auth_xkeys_add("X-My-Key", "abc", "sha256", "$Ri:$fu:$ru:$hdr(CSeq)");
Example 1.3. auth_xkeys_check usage
...
-if(!auth_xkeys_add("X-My-Key", "abc", "sha256", "$si:$fu:$ru:$hdr(CSeq)")) {
+if(!auth_xkeys_check("X-My-Key", "abc", "sha256", "$si:$fu:$ru:$hdr(CSeq)")) {
send_reply("403", "Forbidden");
exit;
}
More information about the sr-dev
mailing list