Smol fix to remove {CRYPT} in front of hash

This commit is contained in:
Alexandre Aubin 2018-10-25 14:23:40 +00:00
parent 2bb75d1c92
commit 5e91b5c780

View file

@ -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):