diff --git a/src/modules/users/SetPasswordJob.cpp b/src/modules/users/SetPasswordJob.cpp index f0c8b0b71..ad1cebcda 100644 --- a/src/modules/users/SetPasswordJob.cpp +++ b/src/modules/users/SetPasswordJob.cpp @@ -64,7 +64,7 @@ SetPasswordJob::make_salt( int length ) cWarning() << "Entropy data for salt is low-quality."; } - salt_string.insert( 0, "$6$" ); + salt_string.insert( 0, "$y$" ); salt_string.append( '$' ); return salt_string; }