Commit f09c8703 authored by Nigel McNie's avatar Nigel McNie Committed by Penny Leach
Browse files

Pass through email address from config to set for the admin user

parent c7a138b9
......@@ -97,7 +97,7 @@ $m->post($CFG->{url} . 'admin/',
debug("Changing admin password...");
$m->submit_form(
form_name => 'change_password',
fields => { password1 => $CFG->{password}, password2 => $CFG->{password} }
fields => { password1 => $CFG->{password}, password2 => $CFG->{password}, email => $CFG->{email} }
);
if ($m->content =~ /Your new password has been saved/) {
......
......@@ -2,5 +2,6 @@
{
url => 'http://mahara.freud.wgtn.cat-it.co.nz',
password => '1234567',
debug => 1
email => 'nigel@catalyst.net.nz',
debug => 1,
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment