mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 21:39:24 +00:00
317ac06e43
Added all necessary methods to call to a new `status-go` endpoint that allows to get the password strength quality info. Closes #4980
36 lines
833 B
QML
36 lines
833 B
QML
import QtQuick 2.13
|
|
import utils 1.0
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property var privacyModule
|
|
|
|
// Module Properties
|
|
property bool mnemonicBackedUp: privacyModule.mnemonicBackedUp
|
|
|
|
function changePassword(password, newPassword) {
|
|
root.privacyModule.changePassword(password, newPassword)
|
|
}
|
|
|
|
function getMnemonic() {
|
|
return root.privacyModule.getMnemonic()
|
|
}
|
|
|
|
function removeMnemonic() {
|
|
root.privacyModule.removeMnemonic()
|
|
}
|
|
|
|
function getMnemonicWordAtIndex(index) {
|
|
return root.privacyModule.getMnemonicWordAtIndex(index)
|
|
}
|
|
|
|
function validatePassword(password) {
|
|
return root.privacyModule.validatePassword(password)
|
|
}
|
|
|
|
function getPasswordStrengthScore(password) {
|
|
return root.privacyModule.getPasswordStrengthScore(password)
|
|
}
|
|
}
|