mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 09:39:58 -06:00
Disk Settings: add possibility to change encryption phrase/keyfile
This commit is contained in:
@@ -91,7 +91,7 @@ if (isset($_POST['newinput'])) {
|
||||
break;
|
||||
case 'file':
|
||||
file_put_contents($newkey,base64_decode(explode(';base64,',_var($_POST,'newdata',';base64,'))[1]));
|
||||
$luks = 'luksKey&luksKeyfile';
|
||||
$luks = 'luksKey=&luksKeyfile';
|
||||
$data = $newkey;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user