Update app icon, username now forced to lowercase
This commit is contained in:
parent
1417f4416f
commit
faf4e251b5
BIN
res/icon.png
BIN
res/icon.png
Binary file not shown.
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 35 KiB |
BIN
www/assets/badges/alphatester.png
Normal file
BIN
www/assets/badges/alphatester.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
@ -35,7 +35,7 @@ function dosignup() {
|
|||||||
},
|
},
|
||||||
function (data) {
|
function (data) {
|
||||||
if (data === 'OK') {
|
if (data === 'OK') {
|
||||||
username = $('#usernameBox').val();
|
username = $('#usernameBox').val().toLowerCase();
|
||||||
password = $('#passwordBox').val();
|
password = $('#passwordBox').val();
|
||||||
localStorage.setItem("username", username);
|
localStorage.setItem("username", username);
|
||||||
localStorage.setItem("password", password);
|
localStorage.setItem("password", password);
|
||||||
@ -78,7 +78,7 @@ function dologin() {
|
|||||||
// Now that auth is OK, ping the game server
|
// Now that auth is OK, ping the game server
|
||||||
$.getJSON(mkApiUrl('pinglogin') + "?user=" + $('#usernameBox').val(), function (out) {
|
$.getJSON(mkApiUrl('pinglogin') + "?user=" + $('#usernameBox').val(), function (out) {
|
||||||
if (out.status === 'OK') {
|
if (out.status === 'OK') {
|
||||||
username = $('#usernameBox').val();
|
username = $('#usernameBox').val().toLowerCase();
|
||||||
password = $('#passwordBox').val();
|
password = $('#passwordBox').val();
|
||||||
localStorage.setItem("username", username);
|
localStorage.setItem("username", username);
|
||||||
localStorage.setItem("password", password);
|
localStorage.setItem("password", password);
|
||||||
|
Reference in New Issue
Block a user