fixed incorrect login warning for mobile.