Changeset 140 for binary-improvements/7dtd-server-fixes/src/NetConnections
- Timestamp:
- Aug 28, 2014, 1:38:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/Web.cs
r134 r140 24 24 25 25 _listener.Prefixes.Add (String.Format ("http://*:{0}/", port)); 26 _listener.AuthenticationSchemes = AuthenticationSchemes.Basic;26 //_listener.AuthenticationSchemes = AuthenticationSchemes.Basic; 27 27 _listener.Start (); 28 28 … … 89 89 private bool Authorize (HttpListenerContext ctx, out HttpListenerBasicIdentity user) 90 90 { 91 user = null; 92 return true; 91 93 try { 92 94 user = (HttpListenerBasicIdentity)ctx.User.Identity;
Note:
See TracChangeset
for help on using the changeset viewer.