diff --git a/src/yunohost/data_migrations/0006_migrate_pwd.py b/src/yunohost/data_migrations/0006_migrate_pwd.py index c80304985..6413086ae 100644 --- a/src/yunohost/data_migrations/0006_migrate_pwd.py +++ b/src/yunohost/data_migrations/0006_migrate_pwd.py @@ -50,7 +50,8 @@ class MyMigration(Migration): | tr -d '\n ' \ | tr ':' ' ' \ | awk '{print $2}' \ - | base64 -d") + | base64 -d \ + | sed 's/{CRYPT}//g'") return admin_hash def _replace_root_hash(self, new_hash):