CatalystX::SimpleLogin::Form::Login man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

CatalystX::SimpleLoginUserrContributed PCatalystX::SimpleLogin::Form::Login(3)

NAME
       CatalystX::SimpleLogin::Form::Login - validation for the login form

DESCRIPTION
       A HTML::FormHandler form for the login form.

FIELDS
       username
       password
       remember
       submit

METHODS
       validate
       add_auth_errors

SEE ALSO
       CatalystX::SimpleLogin::Controller::Login

CUSTOMIZATION
       By default, the params passed to authenticate() are 'username' and
       'password'. If you need to use different names, then you'll need to set
       the correct value(s) via login_form_args in the configuration.  The
       keys are 'authenticate_username_field_name' and/or
       'authenticate_password_field_name'.

	   __PACKAGE__->config(
	       'Controller::Login' => {
		   login_form_args => {
		      authenticate_username_field_name => 'name',
		      authenticate_password_field_name => 'password2',
		   },
	       },
	   );

       You can also change the way that the form is displayed by setting
       attributes.  In MyApp.pm:

	   __PACKAGE__->config(
	       'Controller::Login' => {
		   login_form_args => {
		      login_error_message => 'Login failed',
		      field_list => [
			  '+submit' => { value => 'Login' },
		      ]
		   }
	       },
	   );

       Additional fields can be added:

	  field_list => [
	      'foo' => ( type => 'MyField' ),
	      'bar' => { type => 'Text' },
	  ]

       Additional arguments to the authenticate call can be added: If your
       user table has a column "status" and you want only those with "status =
       'active'"to be able to log .in

	   __PACKAGE__->config(
	       'Controller::Login' => {
		   login_form_args => {
		       authenticate_args => { status => 1 },
		   },
	       },
	   };

AUTHORS
       See CatalystX::SimpleLogin for authors.

LICENSE
       See CatalystX::SimpleLogin for license.

perl v5.14.1			  2011-0CatalystX::SimpleLogin::Form::Login(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net