We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c1e4be6a authored by Brion Vibber's avatar Brion Vibber

Event hook points needed to run Recaptcha on Twitter registration

parent 7a9040e3
......@@ -382,11 +382,19 @@ class TwitterauthorizationAction 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->input('newname', _m('New nickname'),
($this->username) ? $this->username : '',
_m('1-64 lowercase letters or numbers, no punctuation or spaces'));
// Hook point for captcha etc
Event::handle('EndRegistrationFormData', array($this));
$this->submit('create', _m('Create'));
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