Explorar o código

Added optional digest authentication to ser.cfg

Jan Janak %!s(int64=23) %!d(string=hai) anos
pai
achega
3d4a32d011
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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;
 		};