Index: binary-improvements/MapRendering/Web/OpenID.cs
===================================================================
--- binary-improvements/MapRendering/Web/OpenID.cs	(revision 315)
+++ binary-improvements/MapRendering/Web/OpenID.cs	(revision 316)
@@ -14,5 +14,5 @@
 	public static class OpenID {
 		private const string STEAM_LOGIN = "https://steamcommunity.com/openid/login";
-		private static Regex steamIdUrlMatcher = new Regex (@"^http:\/\/steamcommunity\.com\/openid\/id\/([0-9]{17,18})");
+		private static Regex steamIdUrlMatcher = new Regex (@"^https?:\/\/steamcommunity\.com\/openid\/id\/([0-9]{17,18})");
 
 		private static readonly X509Certificate2 caCert = new X509Certificate2 (Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location) + "/steam-rootca.cer");
@@ -111,6 +111,11 @@
 
 		public static ulong Validate (HttpListenerRequest _req) {
-			if (getValue (_req, "openid.mode") == "cancel") {
+			string mode = getValue (_req, "openid.mode");
+			if (mode == "cancel") {
 				Log.Warning ("Steam OpenID login canceled");
+				return 0;
+			}
+			if (mode == "error") {
+				Log.Warning ("Steam OpenID login error: " + getValue (_req, "openid.error"));
 				return 0;
 			}
