Changeset 2776
- Timestamp:
- 07/14/08 22:46:42 (3 months ago)
- Files:
-
- branches/release-41/lib/MT/App.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-41/lib/MT/App.pm
r2772 r2776 1164 1164 my $timeout; 1165 1165 if ( $user->auth_type eq 'MT' ) { 1166 $timeout = '+' . $app->config->UserSessionTimeout . 's'; 1166 if ($app->param('remember')) { 1167 # 10 years, same as app sign-in 'remember me' 1168 $timeout = '+3650d'; 1169 } else { 1170 $timeout = '+' . $app->config->UserSessionTimeout . 's'; 1171 } 1167 1172 } else { 1168 1173 $timeout = '+' . $app->config->CommentSessionTimeout . 's';
