Changeset 2749
- Timestamp:
- 07/10/08 21:21:13 (2 months ago)
- Files:
-
- branches/release-41/lib/MT/App/Comments.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-41/lib/MT/App/Comments.pm
r2644 r2749 242 242 elsif ( MT::Auth::NEW_LOGIN() == $result ) { 243 243 my $registration = $app->config->CommenterRegistration; 244 unless ( $registration && $registration->{Allow} && $blog->allow_commenter_regist) {244 unless ( $registration && $registration->{Allow} && ( $app->config->ExternalUserManagement || $blog->allow_commenter_regist ) ) { 245 245 return $app->login_form( error => $app->translate('Successfully authenticated but signing up is not allowed. Please contact system administrator.') ) 246 246 unless $commenter; … … 1148 1148 my $blog = MT::Blog->load($blog_id) 1149 1149 or return $app->error($app->translate('Can\'t load blog #[_1].', $blog_id)); 1150 if ( $registration->{Allow} && $blog->allow_commenter_regist) {1150 if ( $registration->{Allow} && ( $app->config->ExternalUserManagement || $blog->allow_commenter_regist ) ) { 1151 1151 # By policy, this blog permits this type of user 1152 1152 # and they are not banned (as they have no blog perms/
