don't log sensitive wizard values
This commit is contained in:
@@ -35,7 +35,7 @@ ElDialog {
|
||||
function _setWizardData(wdata) {
|
||||
wizard_data = {}
|
||||
Object.assign(wizard_data, wdata) // deep copy
|
||||
console.log('wizard data is now :' + JSON.stringify(wizard_data))
|
||||
// console.log('wizard data is now :' + JSON.stringify(wizard_data))
|
||||
}
|
||||
|
||||
// helper function to dynamically load wizard page components
|
||||
@@ -77,7 +77,7 @@ ElDialog {
|
||||
})
|
||||
page.prev.connect(function() {
|
||||
var wdata = wiz.prev()
|
||||
console.log('prev view data: ' + JSON.stringify(wdata))
|
||||
// console.log('prev view data: ' + JSON.stringify(wdata))
|
||||
})
|
||||
|
||||
pages.pagevalid = page.valid
|
||||
|
||||
@@ -24,7 +24,7 @@ class QEAbstractWizard(QObject):
|
||||
@pyqtSlot('QJSValue', result='QVariant')
|
||||
def submit(self, wizard_data):
|
||||
wdata = wizard_data.toVariant()
|
||||
self._logger.debug(str(wdata))
|
||||
self.log_state(wdata)
|
||||
view = self.resolve_next(self._current.view, wdata)
|
||||
return { 'view': view.view, 'wizard_data': view.wizard_data }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user