Commit 7dc9d9c1 authored by Brion Vibber's avatar Brion Vibber

Add Start/EndRegistrationData event hooks in finishopenidlogin: allows...

Add Start/EndRegistrationData event hooks in finishopenidlogin: allows recaptcha to add its captcha display to the form (checked since addition of StartRegistrationTry)
parent 6fa0bea7
......@@ -118,11 +118,19 @@ class FinishopenidloginAction extends Action
$this->element('p', null,
_m('Create a new user with this nickname.'));
$this->elementStart('ul', 'form_data');
// Hook point for captcha etc
Event::handle('StartRegistrationFormData', array($this));
$this->elementStart('li');
$this->input('newname', _m('New nickname'),
($this->username) ? $this->username : '',
_m('1-64 lowercase letters or numbers, no punctuation or spaces'));
$this->elementEnd('li');
// Hook point for captcha etc
Event::handle('EndRegistrationFormData', array($this));
$this->elementStart('li');
$this->element('input', array('type' => 'checkbox',
'id' => 'license',
......
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