Changeset 60a55516fee8adb94bfd6ea006f91c9d2978b652

Show
Ignore:
Timestamp:
12/05/09 22:06:32 (3 months ago)
Author:
Stephen Bennett <spb@…>
Parents:
c59673ce8cf87c677db5c213f954df35ddbd7916
Children:
1c6e8d1ac50e0b9c3fa59ce2d61b8d74e49235b3
git-committer:
Stephen Bennett <spb@exherbo.org> / 2009-12-05T22:06:32Z+0000
Message:

Update the account name in the GMS database on session creation, if we find that it's changed in atheme

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lib/GMS/Session.pm

    r9d997c9 r60a5551  
    7272    }; 
    7373 
     74    if ($account->accountname ne $user) { 
     75        $account->accountname($user); 
     76        $account->update; 
     77    } 
     78 
    7479    $self->{_account} = $account; 
    7580