mirror of
https://github.com/unraid/api.git
synced 2026-01-07 00:59:48 -06:00
feat: integrate ReplaceKey functionality in Registration and Update pages
- Added `ReplaceKey` class inclusion and instantiation in `Registration.page` and `Update.page`. - Implemented a call to the `check()` method of `ReplaceKey` to enhance server registration and update processes.
This commit is contained in:
@@ -14,6 +14,9 @@ Tag="pencil"
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*/
|
||||
require_once "$docroot/plugins/dynamix/include/ReplaceKey.php";
|
||||
$replaceKey = new ReplaceKey();
|
||||
$replaceKey->check();
|
||||
?>
|
||||
<unraid-i18n-host>
|
||||
<unraid-registration></unraid-registration>
|
||||
|
||||
@@ -14,7 +14,10 @@ Tag="upload"
|
||||
* all copies or substantial portions of the Software.
|
||||
*/
|
||||
require_once "$docroot/plugins/dynamix.my.servers/include/reboot-details.php";
|
||||
require_once "$docroot/plugins/dynamix/include/ReplaceKey.php";
|
||||
$rebootDetails = new RebootDetails();
|
||||
$replaceKey = new ReplaceKey();
|
||||
$replaceKey->check();
|
||||
?>
|
||||
<script>
|
||||
function cleanUpFlashBackup(zip) {
|
||||
|
||||
Reference in New Issue
Block a user