Skip to content

Commit 8fb9cee

Browse files
committed
Tweak for new response from identity service
1 parent 74755f9 commit 8fb9cee

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

web-assets/js/signup.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,15 @@ $(document).ready(function () {
7676
submit_flag = false;
7777
//setContinueButtonDisabledStatus(true);
7878
}
79-
},
79+
},
80+
error: function (result) {
81+
console.log(JSON.stringify(result));
82+
if (result && result.statusCode === 409) {
83+
$("#error").html(result.message);
84+
$("#error").closest(".message").fadeIn();
85+
return;
86+
}
87+
}
8088
});
8189
return false;
8290
});

0 commit comments

Comments
 (0)