[users] SetPasswordJob: Also encode m_userName in UTF-8, not Latin1.
This commit is contained in:
parent
20d279a409
commit
97c9a7c6e4
@ -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…
Reference in New Issue
Block a user