Merge branch 'hotfix'

This commit is contained in:
Nabin Hait 2017-12-25 19:14:33 +05:30
commit 4a336aa81f
3 changed files with 2 additions and 8 deletions

View file

@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template
__version__ = '10.0.1'
__version__ = '10.0.2'
__title__ = "Frappe Framework"
local = Local()

View file

@ -217,12 +217,6 @@ frappe.setup.SetupWizard = class SetupWizard extends frappe.ui.Slides {
this.$working_state.find('.state-icon-container').html('');
fail_msg = fail_msg ? fail_msg : __("Failed to complete setup");
if(error && !frappe.boot.developer_mode) {
frappe.msgprint(`Don't worry. It's not you, it's us. We've
received the issue details and will get back to you on the solution.
Please feel free to contact us on support@erpnext.com in the meantime.`);
}
this.update_setup_message('Could not start up: ' + fail_msg);
this.$working_state.find('.title').html('Setup failed');

View file

@ -18,7 +18,7 @@ login.bind_events = function() {
var args = {};
args.cmd = "login";
args.usr = frappe.utils.xss_sanitise(($("#login_email").val() || "").trim());
args.pwd = frappe.utils.xss_sanitise($("#login_password").val());
args.pwd = $("#login_password").val();
args.device = "desktop";
if(!args.usr || !args.pwd) {
frappe.msgprint("{{ _("Both login and password required") }}");