Skip to content
Snippets Groups Projects
Commit 674654c2 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #14743 from owncloud/autoconfig-password

Convert 'abcpassword' to 'abcpass' during setup
parents 174f8cef f43b0476
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,14 @@ class Controller {
$post = $this->loadAutoConfig($post);
$opts = $this->getSystemInfo();
// convert 'abcpassword' to 'abcpass'
if (isset($post['adminpassword'])) {
$post['adminpass'] = $post['adminpassword'];
}
if (isset($post['dbpassword'])) {
$post['dbpass'] = $post['dbpassword'];
}
if(isset($post['install']) AND $post['install']=='true') {
// We have to launch the installation process :
$e = \OC\Setup::install($post);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment