Android: Disable password strength meter

This commit is contained in:
MoroccanMalinois
2017-12-24 01:29:08 +00:00
parent 64ce0e62e2
commit 83efc3893b
4 changed files with 17 additions and 3 deletions

View File

@@ -304,6 +304,7 @@ QUrl WalletManager::localPathToUrl(const QString &path) const
return QUrl::fromLocalFile(path);
}
#ifndef DISABLE_PASS_STRENGTH_METER
double WalletManager::getPasswordStrength(const QString &password) const
{
static const char *local_dict[] = {
@@ -318,6 +319,7 @@ double WalletManager::getPasswordStrength(const QString &password) const
ZxcvbnUnInit();
return e;
}
#endif
bool WalletManager::saveQrCode(const QString &code, const QString &path) const
{