From de1d9502c1336d13a3e667304b26244aad822626 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 4 Feb 2018 12:55:50 -0600 Subject: [PATCH] fix error when resetting daemon secret, closes #915 --- CHANGELOG.md | 1 + app/Repositories/Daemon/ConfigurationRepository.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ab4afc7..97909a864 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. * `[rc.1]` — Fixes exception that would occur when trying to delete allocations from a node. * `[rc.1]` — Fixes exception thown when attempting to adjust mail settings as well as a validation error thrown afterwards. * `[rc.1]` — Fixes bug preventing modification of the default value for an Egg variable. +* `[rc.1]` — Fixed a bug that would occur when attempting to reset the daemon secret for a node. ## v0.7.0-rc.1 (Derelict Dermodactylus) ### Fixed diff --git a/app/Repositories/Daemon/ConfigurationRepository.php b/app/Repositories/Daemon/ConfigurationRepository.php index f1b063694..ff44e3031 100644 --- a/app/Repositories/Daemon/ConfigurationRepository.php +++ b/app/Repositories/Daemon/ConfigurationRepository.php @@ -28,7 +28,7 @@ class ConfigurationRepository extends BaseRepository implements ConfigurationRep 'port' => $node->daemonSFTP, ], 'remote' => [ - 'base' => $this->config->get('app.url'), + 'base' => config('app.url'), ], 'uploads' => [ 'size_limit' => $node->upload_size,