mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the master password issue, introduced in the last commit.
This commit is contained in:
committed by
Akshay Joshi
parent
f0490a54b7
commit
a278e8b1e6
@@ -689,12 +689,10 @@ define('pgadmin.browser', [
|
||||
set_master_password: function(password='', button_click=false, set_callback=()=>{}) {
|
||||
let data=null, self = this;
|
||||
|
||||
if(!password) {
|
||||
data = JSON.stringify({
|
||||
'password': password,
|
||||
'button_click': button_click,
|
||||
});
|
||||
}
|
||||
data = JSON.stringify({
|
||||
'password': password,
|
||||
'button_click': button_click,
|
||||
});
|
||||
|
||||
self.masterpass_callback_queue.push(set_callback);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user