mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fixing the password reset issue
This commit is contained in:
parent
d6fcdf500b
commit
525c0958d9
@ -134,8 +134,8 @@ function resetPassword(username) {
|
|||||||
$("a#reset-password-yes-link").click(function () {
|
$("a#reset-password-yes-link").click(function () {
|
||||||
var newPassword = $("#basic-modal-view .new-password").val();
|
var newPassword = $("#basic-modal-view .new-password").val();
|
||||||
var confirmedPassword = $("#basic-modal-view .confirmed-password").val();
|
var confirmedPassword = $("#basic-modal-view .confirmed-password").val();
|
||||||
var errorMsgWrapper = "#notification-error-msg";
|
var errorMsgWrapper = ".modal #notification-error-msg";
|
||||||
var errorMsg = "#notification-error-msg span";
|
var errorMsg = ".modal #notification-error-msg span";
|
||||||
if (!newPassword) {
|
if (!newPassword) {
|
||||||
$(errorMsg).text("New password is a required field. It cannot be empty.");
|
$(errorMsg).text("New password is a required field. It cannot be empty.");
|
||||||
$(errorMsgWrapper).removeClass("hidden");
|
$(errorMsgWrapper).removeClass("hidden");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user