|
From: Chris W. <la...@us...> - 2001-11-20 04:08:33
|
Update of /cvsroot/openinteract/OpenInteract/conf
In directory usw-pr-cvs1:/tmp/cvs-serv26347/conf
Modified Files:
sample-server.ini sample-server.perl
Log Message:
added the 'login'->'always_remember' key
Index: sample-server.ini
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/conf/sample-server.ini,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sample-server.ini 2001/10/25 12:28:17 1.4
--- sample-server.ini 2001/11/20 04:08:30 1.5
***************
*** 173,180 ****
# *_field: These are the fields used to read in the username and
# password from the user and are used in the 'login_box' component
! # shipped with OpenInteract and found in the 'base_box' package.
#
# custom_login_*: Class and method that specify an action that
# executes when a user logs in (Optional)
[login]
--- 173,185 ----
# *_field: These are the fields used to read in the username and
# password from the user and are used in the 'login_box' component
! # shipped with OpenInteract and found in the 'base_box' package. Note
! # that if 'remember_field' is not defined then we don't display the
! # checkbox in the login box.
#
# custom_login_*: Class and method that specify an action that
# executes when a user logs in (Optional)
+ #
+ # always_remember: if true then we always remember the login (and
+ # don't display the checkbox)
[login]
***************
*** 185,189 ****
custom_login_handler =
custom_login_method =
!
#
--- 190,194 ----
custom_login_handler =
custom_login_method =
! always_remember = 0
#
Index: sample-server.perl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/conf/sample-server.perl,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** sample-server.perl 2001/10/17 04:54:30 1.27
--- sample-server.perl 2001/11/20 04:08:30 1.28
***************
*** 194,223 ****
# Login Information
#
# Define login information. In the future you'll be able to define
# the object(s) used for logging in and possibly more.
'login' => {
!
! # Set whether you want to store encrypted passwords in the
! # database (set by default and recommended). Note that if
! # you're using LDAP or some SMB authentication you want to set
! # this to '0' since the backend will take care of that for you.
!
! crypt_password => 1,
!
! # These are the fields used to read in the username and
! # password from the user and are used in the 'login_box'
! # component shipped with OpenInteract and found in the
! # 'base_box' package.
!
! login_field => 'login_login_name',
! password_field => 'login_password',
! remember_field => 'login_remember',
!
! # This handler defines custom actions that happen when a user
! # logs in.
!
custom_login_handler => '',
custom_login_method => '',
},
--- 194,226 ----
# Login Information
#
+ #
# Define login information. In the future you'll be able to define
# the object(s) used for logging in and possibly more.
+ #
+ # crypt_password: Set whether you want to store encrypted passwords in
+ # the database (set by default and recommended). Note that if you're
+ # using LDAP or some SMB authentication you want to set this to '0'
+ # since the backend will take care of that for you.
+ #
+ # *_field: These are the fields used to read in the username and
+ # password from the user and are used in the 'login_box' component
+ # shipped with OpenInteract and found in the 'base_box' package. Note
+ # that if 'remember_field' is not defined then we don't display the
+ # checkbox in the login box.
+ #
+ # custom_login_*: Class and method that specify an action that
+ # executes when a user logs in (Optional)
+ #
+ # always_remember: if true then we always remember the login (and
+ # don't display the checkbox)
'login' => {
! crypt_password => 1,
! login_field => 'login_login_name',
! password_field => 'login_password',
! remember_field => 'login_remember',
custom_login_handler => '',
custom_login_method => '',
+ always_remember => undef,
},
|