[users] SetPasswordJob: Also encode m_userName in UTF-8, not Latin1.

main
Kevin Kofler 8 years ago
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…
Cancel
Save