mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-25 15:38:56 +00:00
Give SSL login to office and local & help back
This commit is contained in:
parent
61b854af68
commit
1861ff2425
@ -82,7 +82,7 @@ var flags = {
|
||||
|
||||
// use SSL for sign in
|
||||
sslLogin: function (req) {
|
||||
return ['127.0.0.1', '81.174.141.101'].indexOf(req.ip);
|
||||
return ['127.0.0.1', '81.174.141.101'].indexOf(req.ip) !== -1;
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
@ -247,28 +247,20 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="menu">
|
||||
<a href="http://learn.jsbin.com/help" class="button">Help</a>
|
||||
</div>
|
||||
<!--
|
||||
<div class="menu">
|
||||
<a href="#help" class="button button-dropdown">Help</a>
|
||||
<div class="dropdown dd-right" id="help">
|
||||
<div class="dropdownmenu">
|
||||
<a data-shortcut="ctrl+shift+?" data-desc="Discover poweruser keyboard shortcuts" id="showhelp" href="#keyboardHelp">Keyboard shortcuts</a>
|
||||
<a data-desc="Shortcut & direct access JS Bin URLs" id="showurls" href="#urls">JS Bin URLs</a>
|
||||
<hr data-desc="">
|
||||
<a data-desc="Learn about JS Bin features & tricks" target="_blank" href="{{root}}/videos">Videos</a>
|
||||
<a data-desc="Learn about JS Bin features & tricks" target="_blank" href="http://jsbin.tumblr.com">Tutorials</a>
|
||||
<a data-desc="Learn about JS Bin features & tricks" target="_blank" href="http://jsbin.tumblr.com/faq">FAQ</a>
|
||||
<hr data-desc="">
|
||||
<a data-desc="Help make JS Bin better" id="newissue" target="_blank" href="http://github.com/jsbin/jsbin/issues/new">Send feedback & file bugs</a>
|
||||
<a data-desc="Help make JS Bin better" target="_blank" href="http://github.com/jsbin/jsbin/">Fork on Github</a>
|
||||
<a data-desc="Discover why, when and how JS Bin came about" target="_blank" href="http://jsbin.tumblr.com/about">About</a>
|
||||
<a data-desc="Find out the latest news & info" target="_blank" href="http://twitter.com/js_bin">Follow @js_bin</a>
|
||||
</div>
|
||||
<a href="#help" class="button button-dropdown">Help</a>
|
||||
<div class="dropdown dd-right" id="help">
|
||||
<div class="dropdownmenu">
|
||||
<a data-shortcut="ctrl+shift+?" data-desc="Discover poweruser keyboard shortcuts" id="showhelp" href="#keyboardHelp">Keyboard shortcuts</a>
|
||||
<a data-desc="Shortcut & direct access JS Bin URLs" id="showurls" href="#urls">JS Bin URLs</a>
|
||||
<hr data-desc="">
|
||||
<a data-desc="Learn about JS Bin features & tricks" target="_blank" href="http://learn.jsbin.com/help">Help topics</a>
|
||||
<hr data-desc="">
|
||||
<a data-desc="Help make JS Bin better" id="newissue" target="_blank" href="http://github.com/jsbin/jsbin/issues/new">Send feedback & file bugs</a>
|
||||
<a data-desc="Help make JS Bin better" target="_blank" href="http://github.com/jsbin/jsbin/">Fork on Github</a>
|
||||
<a data-desc="Find out the latest news & info" target="_blank" href="http://twitter.com/js_bin">Follow @js_bin</a>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user