Petty cosmetics
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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:"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user