Close #30 prefill with username and email Thanks @mattheobjornson 🍻
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
# CHANGELOG
|
||||
|
||||
|
||||
## 1.0.10 - Work In Progress
|
||||
- Enh #32: Added Italian Translation (maxxer)
|
||||
- Fix #30: Prefill username and email in SettingsForm (mattheobjornson)
|
||||
|
||||
## 1.0.9 - July 19, 2017
|
||||
- Enh #22: Added impersonation feature (@tonydspaniard)
|
||||
|
||||
@ -51,6 +51,10 @@ class SettingsForm extends Model
|
||||
public function __construct(SecurityHelper $securityHelper, array $config = [])
|
||||
{
|
||||
$this->securityHelper = $securityHelper;
|
||||
$config = [
|
||||
'username' => $this->getUser()->username,
|
||||
'email' => $this->getUser()->unconfirmed_email? : $this->getUser()->email
|
||||
];
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user