Revision 344

Date:
2013/05/14 13:06:51
Author:
ahitrov
Revision Log:
Session filles with proper e-mail in use_credentials mode
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/session/lib/session/Keeper.pm

     
    39 39 my %data = (
    40 40 id => $res->id,
    41 41 name => $res->name,
    42 email => $res->email,
    42 email => ref $res->email ? $res->email->name : $profile->email,
    43 43 login => $res->login,
    44 44 status => $res->status,
    45 45 ltime => time,
     
    93 93 my %data = (
    94 94 id => $profile->id,
    95 95 name => $profile->name,
    96 email => $profile->email,
    96 email => ref $profile->email ? $profile->email->name : $profile->email,
    97 97 login => $profile->login,
    98 98 status => $profile->status,
    99 99 ltime => time,
     
    314 314 my %data = (
    315 315 id => $profile->id,
    316 316 name => $profile->name,
    317 email => $profile->email,
    317 email => ref $profile->email ? $profile->email->name : $profile->email,
    318 318 login => $profile->login,
    319 319 status => $profile->status,
    320 320 ltime => time,