Difference between revisions of "NationStates:Login"

From NSWiki
Jump to: navigation, search
(change password generation)
(typo)
Line 1: Line 1:
<shtml version="2" keyname="afforess" hash="4f8d75db36b5f8932f4ed0e0de9f67e1597a9c1306fecf5dae2a661cc9d32781"><input id='nation_name' placeholder='Nation Name' type='text' style='width:350px;height:24px;'></input><button class='btn btn-primary' style='margin-left:5px;margin-top: -3px;' id='nation_enter'>Locate Nation</button>
+
<shtml version="2" keyname="afforess" hash="c508dd732f7a30ea3c0bb80ff274622c29da6066da11c079a6159aa3c48c2214"><input id='nation_name' placeholder='Nation Name' type='text' style='width:350px;height:24px;'></input><button class='btn btn-primary' style='margin-left:5px;margin-top: -3px;' id='nation_enter'>Locate Nation</button>
 
<p style='font-style: italic; font-size:15px; color:red;'>Ensure you are logged into the same NationStates nation you wish to login with to NSWiki! If not, go to NationStates.net and switch your nation.</p>
 
<p style='font-style: italic; font-size:15px; color:red;'>Ensure you are logged into the same NationStates nation you wish to login with to NSWiki! If not, go to NationStates.net and switch your nation.</p>
 
<p id='login_error' style='color:red; font-weight:bold; display:none;'>An Error Occured</p>
 
<p id='login_error' style='color:red; font-weight:bold; display:none;'>An Error Occured</p>
Line 16: Line 16:
 
var charset = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
 
var charset = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
 
for( var i = 0; i < 24; i++ )
 
for( var i = 0; i < 24; i++ )
pass += possible.charAt(Math.floor(Math.random() * charset.length));
+
pass += charset .charAt(Math.floor(Math.random() * charset.length));
  
 
return pass;
 
return pass;

Revision as of 22:58, 6 April 2014

Ensure you are logged into the same NationStates nation you wish to login with to NSWiki! If not, go to NationStates.net and switch your nation.