diff options
Diffstat (limited to 'app/frontend/model/User.php')
-rw-r--r-- | app/frontend/model/User.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/frontend/model/User.php b/app/frontend/model/User.php index 5a20582..043269a 100644 --- a/app/frontend/model/User.php +++ b/app/frontend/model/User.php @@ -28,7 +28,8 @@ class User extends ActiveRecord { ]; public static $RELATIONS = [ - 'Calendars' => [self::MANY_TO_MANY, 'Calendar', 'user_selections'] + 'Calendars' => [self::MANY_TO_MANY, 'Calendar', 'user_selections'], + 'AuthKeys' => [self::HAS_MANY, 'UserAuthKey', '_user'] ]; public static function finder($className=__CLASS__) { |