Changeset 8502
- Timestamp:
- 03/29/08 17:43:31 (5 years ago)
- Location:
- lang/perl/Chaostr/trunk
- Files:
-
- 5 modified
-
conf/chaostr_web.yml (modified) (1 diff)
-
conf/chaostr_web_dfv.yml (modified) (1 diff)
-
lib/Chaostr/Web/Controller/Login.pm (modified) (2 diffs)
-
lib/Chaostr/Web/Controller/Root.pm (modified) (1 diff)
-
lib/Chaostr/Web/View/TT.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Chaostr/trunk/conf/chaostr_web.yml
r7674 r8502 3 3 session: 4 4 dbic_class: DBIC::Session 5 expires: 100000000 5 cookie_name: chaostr 6 cookie_expires: 0 6 7 7 8 Plugin::Log::Colorful: -
lang/perl/Chaostr/trunk/conf/chaostr_web_dfv.yml
r7712 r8502 14 14 - String::length : 15 15 args : 16 min : 317 max : 1016 min : 2 17 max : 30 18 18 - +Chaostr::ValidateEm::Plugin::String::w 19 19 password : 20 20 - String::length : 21 21 args : 22 min : 423 max : 1222 min : 6 23 max : 34 24 24 - +Chaostr::ValidateEm::Plugin::String::w 25 25 loose : -
lang/perl/Chaostr/trunk/lib/Chaostr/Web/Controller/Login.pm
r7689 r8502 35 35 }); 36 36 37 38 37 my $v = $c->form->valid; 39 38 … … 56 55 57 56 # 2 週間 58 $c->session_ expire_key( __user =>1_209_600 );57 $c->session_time_to_live( 1_209_600 ); 59 58 } 60 59 else { 61 60 $c->session->{auto_login} = 0; 62 63 # 2 時間64 $c->session_expire_key( __user => 7_200 );65 61 } 66 62 -
lang/perl/Chaostr/trunk/lib/Chaostr/Web/Controller/Root.pm
r7665 r8502 30 30 my ( $self, $c ) = @_; 31 31 32 $c->session_expire_key( __user => 7_200 );33 32 if ( $c->session->{auto_login} ) { 34 $c->session_ expire_key( __user =>1_209_600 );33 $c->session_time_to_live( 1_209_600 ); 35 34 } 36 35 -
lang/perl/Chaostr/trunk/lib/Chaostr/Web/View/TT.pm
r7665 r8502 3 3 use strict; 4 4 use warnings; 5 use base 'Catalyst::View::TT ';5 use base 'Catalyst::View::TT::ForceUTF8'; 6 6 7 7 __PACKAGE__->config(
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)