Changeset 2781

Show
Ignore:
Timestamp:
07/15/08 07:43:20 (5 months ago)
Author:
auno
Message:

Set auth_type for session status and not using is_authenticated value. BugzID:80580

Files:

Legend:

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

    r2777 r2781  
    993993                userpic => scalar $commenter->userpic_url, 
    994994                profile => "", # profile link url 
    995                 is_authenticated => ($commenter->auth_type eq 'MT' ? "1" : "2"), 
     995                auth_type => ($commenter->auth_type eq 'MT' ? "1" : "0"), 
     996                is_authenticated => "1", 
    996997                is_trusted => ($commenter->is_trusted($blog_id) ? "1" : "0"), 
    997998                is_author => ($commenter->type == MT::Author::AUTHOR() ? "1" : "0"),