From e1de767f34346b7199ea8616d092d27bedb4a5f1 Mon Sep 17 00:00:00 2001 From: kissge Date: Fri, 19 Feb 2016 11:44:40 +0900 Subject: [PATCH] Make sure defaultScreenName is loaded as a string value This fixes the problem that users with screen name consisting only digit characters cannot login. See #342. --- js/twister_user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/twister_user.js b/js/twister_user.js index 4ce38a7..77a419a 100644 --- a/js/twister_user.js +++ b/js/twister_user.js @@ -79,7 +79,7 @@ function loadWalletlUsers(cbFunc, cbArg) { function loadScreenName() { if( $.localStorage.isSet("defaultScreenName") ) { - defaultScreenName = $.localStorage.get("defaultScreenName"); + defaultScreenName = $.localStorage.get("defaultScreenName").toString(); } }