fix: login without user category

This commit is contained in:
Jannat Patel
2022-04-21 08:42:18 +05:30
parent a4bfad6138
commit 593c20d62b

View File

@@ -87,7 +87,7 @@
"email": email, "email": email,
"full_name": full_name, "full_name": full_name,
"verify_terms": $("#signup-terms").prop("checked") ? 1 : 0, "verify_terms": $("#signup-terms").prop("checked") ? 1 : 0,
"user_category": $("#user_category").val() "user_category": $("#user_category").length ? $("#user_category").val() : ""
}, },
statusCode: login.login_handlers statusCode: login.login_handlers
}) })