mirror of
https://git.launchpad.net/~ubuntu-qt-code/ubuntu/+source/calamares/+git/calamares
synced 2025-02-24 03:41:14 +00:00
Fix some of the confusion around the weak password checkbox and its visibility.
This commit is contained in:
parent
96a40ef1ee
commit
e5a20fbf31
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
calamares (3.3.13-0ubuntu4) plucky; urgency=medium
|
||||||
|
|
||||||
|
* Fix some of the confusion around the weak password checkbox and its
|
||||||
|
visibility.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Sun, 16 Feb 2025 17:50:18 -0600
|
||||||
|
|
||||||
calamares (3.3.13-0ubuntu3) plucky; urgency=medium
|
calamares (3.3.13-0ubuntu3) plucky; urgency=medium
|
||||||
|
|
||||||
* No-change rebuild for icu soname change.
|
* No-change rebuild for icu soname change.
|
||||||
|
14
debian/patches/fix-checkbox-warning-confusion.patch
vendored
Normal file
14
debian/patches/fix-checkbox-warning-confusion.patch
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/src/modules/users/Config.cpp b/src/modules/users/Config.cpp
|
||||||
|
index be754774b..380ed293e 100644
|
||||||
|
--- a/src/modules/users/Config.cpp
|
||||||
|
+++ b/src/modules/users/Config.cpp
|
||||||
|
@@ -1026,8 +1026,7 @@ Config::setConfigurationMap( const QVariantMap& configurationMap )
|
||||||
|
m_reuseUserPasswordForRoot = Calamares::getBool( configurationMap, "doReusePassword", false );
|
||||||
|
|
||||||
|
m_permitWeakPasswords = Calamares::getBool( configurationMap, "allowWeakPasswords", false );
|
||||||
|
- m_requireStrongPasswords
|
||||||
|
- = !m_permitWeakPasswords || !Calamares::getBool( configurationMap, "allowWeakPasswordsDefault", false );
|
||||||
|
+ m_requireStrongPasswords = Calamares::getBool( configurationMap, "allowWeakPasswordsDefault", false );
|
||||||
|
|
||||||
|
// If the value doesn't exist, or isn't a map, this gives an empty map -- no problem
|
||||||
|
auto pr_checks( configurationMap.value( "passwordRequirements" ).toMap() );
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -3,3 +3,4 @@ apport-package-hook.patch
|
|||||||
enable-only-present-with-encryption-partitions.patch
|
enable-only-present-with-encryption-partitions.patch
|
||||||
grub-debconf-config.patch
|
grub-debconf-config.patch
|
||||||
unmount-encrypted-devices.patch
|
unmount-encrypted-devices.patch
|
||||||
|
fix-checkbox-warning-confusion.patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user