Password reset | Twoodo                 var DEBUG = false;        if (document.URL !== "http://192.168.1.14:8080/" && document.URL !== "https://www.twoodo.com/" && document.URL.indexOf("/password") == -1 && document.URL.indexOf("/register") == -1 && document.URL.indexOf("/walkthrough") == -1) { var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf('iphone') > -1 || ua.indexOf('ios') > -1 || ua.indexOf('ipod') > -1) { // To Add iPAD back: || ua.indexOf('ipad') > -1 } var isAndroid = ua.indexOf("android") > -1; //&& ua.indexOf("mobile"); if (isAndroid) { } }    window.__insp = window.__insp || []; __insp.push(['wid', 1854566156]); (function () { function __ldinsp() { var insp = document.createElement('script'); insp.type = 'text/javascript'; insp.async = true; insp.id = "inspsync"; insp.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://cdn.inspectlet.com/inspectlet.js'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(insp, x); } if (window.attachEvent) { window.attachEvent('onload', __ldinsp); } else { window.addEventListener('load', __ldinsp, false); } })();     (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-26666683-1', 'auto'); // Replace with your property ID. ga('require', 'displayfeatures'); ga('send', 'pageview');     (function (c, a) { window.mixpanel = a; var b, d, h, e; b = c.createElement("script"); b.type = "text/javascript"; b.async = !0; b.src = ("https:" === c.location.protocol ? "https:" : "http:") + 'https://cdn.mxpnl.com/libs/mixpanel-2.2.min.js'; d = c.getElementsByTagName("script")[0]; d.parentNode.insertBefore(b, d); a._i = []; a.init = function (b, c, f) { function d(a, b) { var c = b.split("."); 2 == c.length && (a = a[c[0]], b = c[1]); a[b] = function () { a.push([b].concat( Array.prototype.slice.call(arguments, 0))) } } var g = a; "undefined" !== typeof f ? g = a[f] = [] : f = "mixpanel"; g.people = g.people || []; h = ['disable', 'track', 'track_pageview', 'track_links', 'track_forms', 'register', 'register_once', 'unregister', 'identify', 'alias', 'name_tag', 'set_config', 'people.set', 'people.set_once', 'people.increment', 'people.track_charge', 'people.append']; for (e = 0; e < h.length; e++)d(g, h[e]); a._i.push([b, c, f]) }; a.__SV = 1.2; })(document, window.mixpanel || []); mixpanel.init("9b0596778e670363f39798d795551c02"); var distincId = "0c879776-fa83-4fa5-96ca-9ce8aa979db9"; if (distincId !== "") { mixpanel.identify(distincId); }        $(document).ready(function(){ var $pwd1 = $("#newpassword"), $pwd2 = $("#confirmpassword"); // On keydown check if it's the same pwd $pwd2.keyup(function(){ var pwd1 = $pwd1.val(), pwd2 = $(this).val(); samePwd(pwd1, pwd2); }); $(".JS_pwdReset").submit(function(){ // Check password is the same if(!samePwd($pwd1.val(),$pwd2.val())){ return false; } var $this = $(this); $.ajax({ url:"/app/user/resetPassword", dataType:"json", type:"POST", data:$this.serialize(), complete:function(data,text){ var response = $.parseJSON(data.responseText); console.log(response); if(response[0].error === false){ } else { $(".JS_passwordError").html(response).slideDown(response); } } }); return false; }); }); function samePwd(pwd1,pwd2){ if(pwd1 !== pwd2){ $(".JS_passwordError").slideDown("fast"); return false; } else { $(".JS_passwordError").slideUp("fast"); return true; } }       Reset your password  Missing information to reset password.  Back to home page      $(document).ready(function () { if (document.URL == "http://192.168.1.14:8080/" || document.URL == "https://www.twoodo.com/" || document.URL == "http://localhost:8080/") { var loginSelector = $(".w-col.w-col-4.sign-up-column, .w-form.bottom-sign-up-form"); var link = ""; if (loginSelector.length > 0) { var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf('iphone') > -1 || ua.indexOf('ios') > -1 || ua.indexOf('ipod') > -1) { if (loginSelector.length > 0) { link = "https://itunes.apple.com/us/app/twoodo/id714337900?ls=1&mt=8"; } } var isAndroid = ua.indexOf("android") > -1; //&& ua.indexOf("mobile"); if (isAndroid) { if (loginSelector.length > 0) { link = "market://details?id=com.twoodo.android1"; } } if(link != ""){ loginSelector.html(""); } } } });