Index: binary-improvements/MapRendering/ModInfo.xml
===================================================================
--- binary-improvements/MapRendering/ModInfo.xml	(revision 315)
+++ binary-improvements/MapRendering/ModInfo.xml	(revision 316)
@@ -5,5 +5,5 @@
 		<Description value="Render the game map to image map tiles as it is uncovered" />
 		<Author value="Christian 'Alloc' Illy" />
-		<Version value="23" />
+		<Version value="24" />
 		<Website value="http://7dtd.illy.bz" />
 	</ModInfo>
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;
 			}
