Changeset 399 for binary-improvements2/WebServer/src/OpenID.cs
- Timestamp:
- Aug 14, 2022, 8:13:05 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/OpenID.cs
r391 r399 39 39 if (_errors == SslPolicyErrors.None) { 40 40 if (verboseSsl) { 41 Log.Out (" Steam certificate: No error (1)");41 Log.Out ("[OpenID] Steam certificate: No error (1)"); 42 42 } 43 43 … … 94 94 95 95 // This status is an error, print information 96 Log.Warning (" Steam certificate error: " + chainEl.Certificate.Subject + " ### Error: " +96 Log.Warning ("[OpenID] Steam certificate error: " + chainEl.Certificate.Subject + " ### Error: " + 97 97 chainStatus.Status); 98 98 privateChain.Reset (); … … 104 104 if (chainStatus.Status != X509ChainStatusFlags.NoError && 105 105 chainStatus.Status != X509ChainStatusFlags.UntrustedRoot) { 106 Log.Warning (" Steam certificate error: " + chainStatus.Status);106 Log.Warning ("[OpenID] Steam certificate error: " + chainStatus.Status); 107 107 privateChain.Reset (); 108 108 return false; … … 113 113 privateChain.Reset (); 114 114 if (verboseSsl) { 115 Log.Out (" Steam certificate: No error (4)");115 Log.Out ("[OpenID] Steam certificate: No error (4)"); 116 116 } 117 117 … … 136 136 string mode = getValue (_req, "openid.mode"); 137 137 if (mode == "cancel") { 138 Log.Warning (" Steam OpenID login canceled");138 Log.Warning ("[OpenID] Steam OpenID login canceled"); 139 139 return 0; 140 140 } 141 141 142 142 if (mode == "error") { 143 Log.Warning (" Steam OpenID login error: " + getValue (_req, "openid.error"));143 Log.Warning ("[OpenID] Steam OpenID login error: " + getValue (_req, "openid.error")); 144 144 if (debugOpenId) { 145 145 PrintOpenIdResponse (_req); … … 155 155 steamId = ulong.Parse (steamIdMatch.Groups [1].Value); 156 156 } else { 157 Log.Warning (" Steam OpenID login result did not give a valid SteamID");157 Log.Warning ("[OpenID] Steam OpenID login result did not give a valid SteamID"); 158 158 if (debugOpenId) { 159 159 PrintOpenIdResponse (_req); … … 201 201 } 202 202 203 Log.Warning (" Steam OpenID login failed: {0}", responseString);203 Log.Warning ("[OpenID] Steam OpenID login failed: {0}", responseString); 204 204 return 0; 205 205 } … … 218 218 NameValueCollection nvc = _req.QueryString; 219 219 if (nvc [_name] == null) { 220 throw new MissingMemberException (" OpenID parameter \"" + _name + "\" missing");220 throw new MissingMemberException ("[OpenID] OpenID parameter \"" + _name + "\" missing"); 221 221 } 222 222
Note:
See TracChangeset
for help on using the changeset viewer.