Changeset 2741

Show
Ignore:
Timestamp:
07/09/08 08:58:11 (19 months ago)
Author:
auno
Message:

Set is_authenticated value for checking the OpenID. BugzID:80580

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/App.pm

    r2725 r2741  
    994994                userpic => scalar $commenter->userpic_url, 
    995995                profile => "", # profile link url 
    996                 is_authenticated => "1", 
     996                is_authenticated => ($commenter->auth_type eq 'MT' ? "1" : "2"), 
    997997                is_trusted => ($commenter->is_trusted($blog_id) ? "1" : "0"), 
    998998                is_author => ($commenter->type == MT::Author::AUTHOR() ? "1" : "0"),