瀏覽代碼

Added optional digest authentication to ser.cfg

Jan Janak 23 年之前
父節點
當前提交
3d4a32d011
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      etc/ser.cfg

+ 7 - 0
etc/ser.cfg

@@ -76,6 +76,13 @@ route{
 	if (uri==myself) {
 
 		if (method=="REGISTER") {
+
+# Uncomment this if you want to use digest authentication
+#			if (!www_authorize("domain", "subscriber")) {
+#				www_challenge("domain", 0);
+#				break;
+#			};
+
 			save("location");
 			break;
 		};