mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR Added todo for exception handling done with default admin (from r101086)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112215 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
aba0caf624
commit
55c0e7e915
@ -949,6 +949,8 @@ PHP
|
||||
$adminMember->PasswordEncryption = Security::get_password_encryption_algorithm();
|
||||
$adminMember->FirstName = $config['admin']['firstname'];
|
||||
$adminMember->Surname = $config['admin']['surname'];
|
||||
|
||||
// @todo Exception thrown if database with admin already exists with same Email
|
||||
try {
|
||||
$adminMember->write();
|
||||
} catch(Exception $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user