Skip to content

Commit

Permalink
ownCloud -> Nextcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasReschke committed Jun 13, 2016
1 parent dffcdca commit 23017b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function isLoggedIn() {
$configReader->init();
$storedSecret = isset($configReader->get(['system'])['updater.secret']) ? $configReader->get(['system'])['updater.secret'] : null;
if(is_null($storedSecret)) {
die('updater.secret is undefined in config/config.php. Either browse the admin settings in your ownCloud and click "Open updater" or define a strong secret using <pre>php -r \'echo password_hash("MyStrongSecretDoUseYourOwn!", PASSWORD_DEFAULT)."\n";\'</pre> and set this in the config.php.');
die('updater.secret is undefined in config/config.php. Either browse the admin settings in your Nextcloud and click "Open updater" or define a strong secret using <pre>php -r \'echo password_hash("MyStrongSecretDoUseYourOwn!", PASSWORD_DEFAULT)."\n";\'</pre> and set this in the config.php.');
}
$sentAuthHeader = ($this->request->header('X_Updater_Auth') !== null) ? $this->request->header('X_Updater_Auth') : '';

Expand Down

0 comments on commit 23017b5

Please sign in to comment.