mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
(bugfix) password msg when editing an LDAP profile (#2732)
This commit is contained in:
@@ -72,7 +72,8 @@ $(function(){
|
||||
addExtraMailAddress();
|
||||
$('#extraMailAddresses').on('change', '.extraMailAddress', checkExtraMailAddress);
|
||||
$('#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?');
|
||||
} else {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user