custom fields: Add user type of custom fields.

Fixes #8878
This commit is contained in:
Yashashvi Dave
2018-05-06 13:13:38 +05:30
committed by Tim Abbott
parent 1e948ab405
commit e82c879b85
7 changed files with 69 additions and 13 deletions

View File

@@ -89,6 +89,8 @@ exports.add_custom_profile_fields_to_settings = function () {
type = "date";
} else if (field_type === "URL") {
type = "url";
} else if (field_type === "User") {
type = "user";
} else {
blueslip.error("Undefined field type.");
}