Skip to content

Commit cd66ccb

Browse files
committed
Error On Registration Page
1 parent 2a1973c commit cd66ccb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

website/user_profile/templates/register.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h5 class="mb-4" style="font-size: 2.2vw;color:#528CDD;">Programming community o
144144
console.log($(this).val())
145145
if($(this).val() != $('#id_password1').val())
146146
{
147-
$("#msg3").html("<h2>*passwords do not match*</h2>")
147+
$("#msg3").html("Passwords do not match!\n")
148148
}
149149
else
150150
{
@@ -158,6 +158,7 @@ <h5 class="mb-4" style="font-size: 2.2vw;color:#528CDD;">Programming community o
158158
console.log(jqXHR)
159159
console.log(textStatus)
160160
console.log(errorThrown)
161+
alert(errorThrown)
161162
}
162163
})
163164
</script>

0 commit comments

Comments
 (0)