Add settings.update_email().

This commit is contained in:
Steve Howell
2017-02-13 14:40:00 -08:00
committed by Tim Abbott
parent 0bd3af2bc8
commit 8d3a5e7f02

View File

@@ -125,6 +125,14 @@ function render_bots() {
});
}
exports.update_email = function (new_email) {
var email_input = $('#email_value');
if (email_input) {
email_input.text(new_email);
}
};
exports.generate_zuliprc_uri = function (email, api_key) {
var data = settings.generate_zuliprc_content(email, api_key);