Totally clear to me.
Thenx,
Jos
On 26 jun, 14:23, Nasko <[EMAIL PROTECTED]> wrote:
> To be precise:
>
> > If you set the othAuth settings properly you'd get redirected to /
> > admin/users/login if you try to access a page that needs specific
> > permissions.
>
> You'd be redirected to admin/use
To be precise:
> If you set the othAuth settings properly you'd get redirected to /
> admin/users/login if you try to access a page that needs specific
> permissions.
You'd be redirected to admin/users/login if you haven't been logged-in
and the action requires specific permissions
> This way,
Nasko, thanks very much for that detailed example ;-)
On 6/26/07, Nasko <[EMAIL PROTECTED]> wrote:
>
>
> I'm using othAuth in my current project. The way it worked for me - I
> don't have this special route specified:
> $Route->connect('/admin', array('controller' => 'users', 'action'
> =>'login')
I'm using othAuth in my current project. The way it worked for me - I
don't have this special route specified:
$Route->connect('/admin', array('controller' => 'users', 'action'
=>'login'));
Instead, I have my '/admin' url pointing to one of my CMS sections:
### routes.php
$Route->connect('/ad
I've got the following code in routes.php:
$Route->connect('/admin', array('controller' => 'users', 'action' =>
'login'));
$Route->connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));
$Route->connect('/pages/*', array('controller' => 'pages', 'action' =>
'display'));
$Rout