Архивы

Authentication using Jelly and Jelly-Auth. Part 2

Понедельник, 26 апреля 2010 г.
Рубрика: Web frameworks
Метки: |
Просмотров: 1930
Подписаться на комментарии по RSS

Russian version "Аутентификация с использованием Jelly и Jelly-Auth -- часть 2"


Previous part of the tutorial



In this part of Kohana 3 tutorial I'll add auto-login and make some using of the role system, presented in Jelly-Auth Kohana 3 module. But at first some updates for previous part needed. 

1. Instead of
$this->auth = Jelly_Auth::instance();

it would be better to use
$this->auth = Auth::instance();

to retain some code flexibilty. Thanks SpadXIII


2. The Kohana 3 ORM module is really useless here and can be unplugged. Thanks to Sezarin.
Далее...