My favorites
|
Sign in
selfpublish
Self managed modern Content Management System
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
r46
Source path:
svn
/
trunk
/
lib
/
form
/
sfGuardRegisterForm.class.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
class sfGuardRegisterForm extends sfGuardUserForm
{
public function configure()
{
parent::configure();
unset(
$this['first_name'],
$this['last_name'],
$this['birth_date'],
$this['location'],
$this['latitude'],
$this['longitude'],
$this['bio'],
$this['jabber'],
$this['live'],
$this['aim'],
$this['twitter'],
$this['homepage'],
$this['rss'],
$this['phone']
);
$this->validatorSchema['password'] = new sfValidatorString(
array('min_length' => 6, 'max_length' => 128)
);
$this->widgetSchema['captcha'] = new sfAnotherWidgetFormReCaptcha();
$this->mergePostValidator(
new sfAnotherValidatorSchemaReCaptcha($this, 'captcha')
);
}
}
Show details
Hide details
Change log
r40
by dunglas on Apr 22, 2009
Diff
Cleaned version.
Go to:
/trunk/INSTALL
/trunk/apps
/trunk/apps/backend
/trunk/apps/backend/config
/trunk/apps/backend/config/app.yml
...g/backendConfiguration.class.php
...nk/apps/backend/config/cache.yml
...pps/backend/config/factories.yml
.../apps/backend/config/filters.yml
/trunk/apps/backend/config/modules
...s/backend/config/modules/article
...d/config/modules/article/actions
...rticle/actions/actions.class.php
...config/modules/article/templates
...ules/article/templates/_form.php
...rticle/templates/editSuccess.php
...ticle/templates/indexSuccess.php
...article/templates/newSuccess.php
...rticle/templates/showSuccess.php
...ckend/config/modules/sfGuardAuth
...nfig/modules/sfGuardAuth/actions
...rdAuth/actions/actions.class.php
...ig/modules/sfGuardAuth/templates
...th/templates/registerSuccess.php
.../apps/backend/config/routing.yml
...apps/backend/config/security.yml
...apps/backend/config/settings.yml
/trunk/apps/backend/config/view.yml
/trunk/apps/backend/i18n
/trunk/apps/backend/lib
...pps/backend/lib/myUser.class.php
/trunk/apps/backend/modules
/trunk/apps/backend/templates
...pps/backend/templates/layout.php
/trunk/apps/frontend
/trunk/apps/frontend/config
/trunk/apps/frontend/config/app.yml
...k/apps/frontend/config/cache.yml
...ps/frontend/config/factories.yml
...apps/frontend/config/filters.yml
.../frontendConfiguration.class.php
...apps/frontend/config/routing.yml
...pps/frontend/config/security.yml
...pps/frontend/config/settings.yml
...nk/apps/frontend/config/view.yml
/trunk/apps/frontend/i18n
/trunk/apps/frontend/lib
...ps/frontend/lib/myUser.class.php
/trunk/apps/frontend/modules
...nk/apps/frontend/modules/article
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 776 bytes, 34 lines
View raw file
Hosted by