mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 13:35:50 +01:00
(bugfix) password msg when editing an LDAP profile (#2732)
This commit is contained in:
@@ -72,7 +72,8 @@ $(function(){
|
|||||||
addExtraMailAddress();
|
addExtraMailAddress();
|
||||||
$('#extraMailAddresses').on('change', '.extraMailAddress', checkExtraMailAddress);
|
$('#extraMailAddresses').on('change', '.extraMailAddress', checkExtraMailAddress);
|
||||||
$('#save').click(function(){
|
$('#save').click(function(){
|
||||||
if($('#password').val() != ''){
|
let pwval = $('#password').val();
|
||||||
|
if(typeof(pwval) != 'undefined' && pwval != ''){
|
||||||
return confirm('Are you sure you want to change password?');
|
return confirm('Are you sure you want to change password?');
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user