Petty cosmetics

This commit is contained in:
Rick Falkvinge
2015-06-06 15:09:15 +02:00
parent 22356369c5
commit 2ea2dc1741
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@
<div class="box">
<div class="content">
<div class="link-row-encaps" onclick=" document.location=linkSelfSignup; return false; " >
<div class="link-row-icon" style="background-image: url('/Images/Icons/iconshock-add-16px.png')"></div>
<div class="link-row-icon" style="background-image: url('/Images/Icons/iconshock-add-16px.png'); position:relative; top:-2px; left: -1px"></div>
<asp:Label ID="LabelSelfSignup" runat="server" />
</div>
</div>
+1 -1
View File
@@ -122,7 +122,7 @@ namespace Swarmops.Pages.Security
// only check client-side as many server sites de-SSL the connection before reaching the web server
{
if (!Request.Url.ToString().StartsWith ("http://dev.swarmops.com/") &&
!Request.Url.ToString().StartsWith ("http://localhost:"))
!(Request.Url.ToString().StartsWith ("http://localhost:") && Debugger.IsAttached)) // Debugger.IsAttached is necessary, as link can be faked
{
Response.Redirect (Request.Url.ToString().Replace ("http:", "https:"));
}