mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[users] SetPasswordJob: Also encode m_userName in UTF-8, not Latin1.
This commit is contained in:
parent
20d279a409
commit
97c9a7c6e4
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ SetPasswordJob::exec()
|
|||
QString encrypted = QString::fromLatin1(
|
||||
crypt( m_newPassword.toUtf8(),
|
||||
QString( "$6$%1$" )
|
||||
.arg( m_userName ).toLatin1() ) );
|
||||
.arg( m_userName ).toUtf8() ) );
|
||||
|
||||
int ec = CalamaresUtils::System::instance()->
|
||||
targetEnvCall( { "usermod",
|
||||
|
|
Loading…
Add table
Reference in a new issue