Ver Fonte

Added optional digest authentication to ser.cfg

Jan Janak há 23 anos atrás
pai
commit
3d4a32d011
1 ficheiros alterados com 7 adições e 0 exclusões
  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;
 		};