mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Smol fix to remove {CRYPT} in front of hash
This commit is contained in:
parent
2bb75d1c92
commit
5e91b5c780
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ class MyMigration(Migration):
|
||||||
| tr -d '\n ' \
|
| tr -d '\n ' \
|
||||||
| tr ':' ' ' \
|
| tr ':' ' ' \
|
||||||
| awk '{print $2}' \
|
| awk '{print $2}' \
|
||||||
| base64 -d")
|
| base64 -d \
|
||||||
|
| sed 's/{CRYPT}//g'")
|
||||||
return admin_hash
|
return admin_hash
|
||||||
|
|
||||||
def _replace_root_hash(self, new_hash):
|
def _replace_root_hash(self, new_hash):
|
||||||
|
|
Loading…
Add table
Reference in a new issue