From 593c20d62b5193d0d6b4c2693aea632490db8d97 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 21 Apr 2022 08:42:18 +0530 Subject: [PATCH] fix: login without user category --- lms/templates/signup-form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/signup-form.html b/lms/templates/signup-form.html index 90a2b7b8..c682c263 100644 --- a/lms/templates/signup-form.html +++ b/lms/templates/signup-form.html @@ -87,7 +87,7 @@ "email": email, "full_name": full_name, "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 })