I assume you are using v1.2?
You need to replace $html->input and $html->checkbox with the their
$form equivalents. i.e. $form->input, $form->text, $form->checkbox,
etc.
More info at the API docs - http://api.cakephp.org/1.2/class_form_helper.html
--~--~-~--~~~---~--~
Hi, I have carefully followed the othAuth doc
http://bakery.cakephp.org/articles/view/othauth-0-5-documentation,
trying to get it to work, bur when I go to
http://127.0.0.1/testsite/users/login,
I get the following errors..
Username
Warning (512): Method HtmlHelper::input does not exist [CORE
in othAuth Component to this
$UserModel->id = $row[$this->user_model]['id'];
$row[$this->user_model][$this->user_table_last_visit] = date('Y-m-d
H:i:s');
$res = $UserModel->saveField($this->user_table_last_visit,$row[$this-
>user_model][$this->us
hould have is $this->redirect('/admin/campanas/view/36');
On Feb 9, 2008 8:34 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi there!
> I've always used othAuth Component but now that I've switched to cake
> 1.2 I've had some problems, readin
Hi there!
I've always used othAuth Component but now that I've switched to cake
1.2 I've had some problems, reading on internet I was able to solve
almost all of them, but there is a particular one that I havent been
able to solve: after the session is ended and user tries to en
t; > Hi,
> > Please bear with me as I am new to PHP and CakePHP.
> > I have implemented Authentication using the OthAuth component (http://
> > bakery.cakephp.org/articles/view/othauth-component-v0-5-4-5).
>
> > In the groups table I have created 1, administrators ; 2 order
Please bear with me as I am new to PHP and CakePHP.
> I have implemented Authentication using the OthAuth component (http://
> bakery.cakephp.org/articles/view/othauth-component-v0-5-4-5).
>
> In the groups table I have created 1, administrators ; 2 orders ; 3
> stock.
> In the pe
Hi,
Please bear with me as I am new to PHP and CakePHP.
I have implemented Authentication using the OthAuth component (http://
bakery.cakephp.org/articles/view/othauth-component-v0-5-4-5).
In the groups table I have created 1, administrators ; 2 orders ; 3
stock.
In the permissions table I have
On 27 ene, 14:57, dandreta <[EMAIL PROTECTED]> wrote:
> Hi!!
> I have applied Othauth component to define the user groups and their
> permissions following Bakery's article.
> I want that when a user logs in the aplication, it shows the principal
> screen with a dif
Hi!!
I have applied Othauth component to define the user groups and their
permissions following Bakery's article.
I want that when a user logs in the aplication, it shows the principal
screen with a different layout depending on the group of the user.
Do you know how can I do it?
any sugge
My session data is being lost also. Does anyone have a solution yet?
My core.php is set as follows:
Configure::write('Session.save', 'database');
Configure::write('Session.table', 'cake_sessions');
Configure::write('Session.database', 'default');
Configure::write('Session.cookie', 'CAKEPHP');
Co
Hi all,
I'm using othAuth with cake 1.1.x.x.
I have a scenario where a user signs up for an account and then gets an
email with an activation link. When the user clicks the link they can login.
However, once logged in I want them to fill out their account profile. Once
filled in I set
I'm not sure how it works so far. I just installed othAuth with 1.2 beta,
and have been having issues with the login form, specifically because
1.2uses the FORM helper instead of the HTML helper to create forms,
and I think
somewhere along that line something isn't working out. Glad I
Hi
I am running Cake build from August, I have an app using database
sessions and othAuth. I want to try and upgrade my app to the new beta
- I was just wondering then what other problems/issues might I face?
I saw the red frog blog comments about the pre-beta...so can anyone
advise me?
I take
solved similar issue with using database sessions, carefully search
for session_start() in vendor files, remove them all.
hoerer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group
Having the same thing here, but not solution yet.
On Jan 3, 6:17 am, Klaus <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I can't figure out whats the matter. My problem:
>
> Running application with cake1.2pre-beta and the othAuth component
> went fine, but loose
Hello everyone,
I can't figure out whats the matter. My problem:
Running application with cake 1.2 pre-beta and the othAuth component
went fine, but looses login-session since migrated to the newest cake-
beta. I made the changes to the component as somewhere supposed on the
list (sorry
It looks like you need to set PHP to allow call-time pass by
reference, which is technically depreciated, but works fine. You can
do that by adding the following line to the .htaccess file in your
cake directory:
php_flag allow_call_time_pass_reference on
Hope this helps.
Casey
On Dec 20, 5:4
ok, since i use cake 1.1.8 i changed two lines in oth_auth component
file on line 333,334 so i dont get the mysql error anymore.
but whats with the headers and that variable notice?...
On Dec 20, 11:22 am, pandako <[EMAIL PROTECTED]> wrote:
> ok new thing didnt do anything, now it seems that oth
ok new thing didnt do anything, now it seems that oth_msg outputs
right when blank it says so, when wrong usrnm or pswd also, but when i
write the right username and password i get following errors:
Notice: Only variables should be assigned by reference in /localhost/
hola/app/controllers/compone
this is my users controller:
true,
'login_page' => 'users/login',
'logout_page' => 'users/logout',
'access_page' => 'users/index',
'hashkey' => 'mYpERsOnALhaSHkeY',
'
What is your othAuth setup?
On Dec 19, 10:15 am, pandako <[EMAIL PROTECTED]> wrote:
> ok, i made new clean install of cake without ani paginations and
> decorate.php...
>
> now when i try to login it simply doesnt redirect me to any page but
> to login.thtml forever. i imput
ok, i made new clean install of cake without ani paginations and
decorate.php...
now when i try to login it simply doesnt redirect me to any page but
to login.thtml forever. i imputed: "auth_msg" and it says "Plaese
login!" no matter what i type in form, even if i leave it blank..
Any sugestions
hi all, i am very new to php and cake. i am trying to use othauth in
my simple test aplication with databases. However i dont understand
things well enough to get it working. i use php- 4 cake- 1.185 and
othAuth- 0.5.4.5
i went through step by step documentation of othAuth in bakery and
read
hi daphonz, luke,
I did check Red Frogs blog and made the suggested changes, but still
the problem exist. :(
I will again check othAuth component to make sure I didn't miss any
changes suggested in Red Frogs blog
Regards,
bingo
On Dec 10, 11:40 am, luke BAKING barker <[EMAIL PROTECTED
check red frogs blog on this too and other posts in the group..othAuth
1.2 pre-beta
On Dec 10, 4:19 pm, daphonz <[EMAIL PROTECTED]> wrote:
> I had some issues getting the othAuth component to work with Cake pre-
> beta as well. I think had the same problem you did. You can read my
I had some issues getting the othAuth component to work with Cake pre-
beta as well. I think had the same problem you did. You can read my
blog post about it:
http://www.ancientwisdom.cc/news/archives/111
Hope that helps.
Casey
On Dec 8, 11:09 am, bingo <[EMAIL PROTECTED]> wrote
hi,
I did some debugging..and it seems the above problem is only with
OthAuth component. I searched through all the possible sources..but
couldn't find any reason why its not working. Any help will be
appreciated.
Regards,
Ritesh
--~--~-~--~~~---~--~
Hello, I am implementing othAuth and run into issues when using
$auto_redirect = true; please note that after each test, I clear cache
and cookies, then test again.
1st situation: $auto_redirect = true
with proper credentials, can login in fine at user/login and
directs to correct page
After giving up on the new CakePHP Auth component, I found othAuth. I
followed the documentation on the Bakery site:
http://bakery.cakephp.org/articles/view/othauth-0-5-documentation
And I have it working just like it should. The only problem, every
time a user logs in, a new record is
On Nov 3, 5:47 am, gmwebs <[EMAIL PROTECTED]> wrote:
> For some reason or another, since upgrading to the latest pre-beta
> 1.2.x.x I have been experiencing issues with the othAuth component. I
> have also upgraded to the latest nightly build but it has not made any
> differen
I take it by POSTs you mean form submissions with a method of POST?
Well if so, then no, it does not happen for all POSTs.
It seems only to happen with my admin functions. I can navigate the
site as a normal user while logged in, but as soon as I log in as an
administrator and attempt to edit an
Is this happening only for admin actions or all POSTs ?
Luke
On Nov 3, 12:47 am, gmwebs <[EMAIL PROTECTED]> wrote:
> For some reason or another, since upgrading to the latest pre-beta
> 1.2.x.x I have been experiencing issues with the othAuth component. I
> have also upgrade
I have also been experiencing some issues - I have posted mine this
evening to the group as well.
Have you seen http://www.ancientwisdom.cc/news/archives/111 which
outlines some changes? Might be of some help to you...
--~--~-~--~~~---~--~~
You received this mess
For some reason or another, since upgrading to the latest pre-beta
1.2.x.x I have been experiencing issues with the othAuth component. I
have also upgraded to the latest nightly build but it has not made any
difference.
I followed the instructions in http://www.ancientwisdom.cc/news/archives/111
Hi all -
has anybody else noticed problems with othAuth breaking down with the
latest release of cakephp? With the previous alpha release, things
were working hunky dory. When I tried to upgrade to the latest beta
version released on the 22nd the system started behaving very funny.
Some actions
Alright, I got the whole ACL thing set up. I think. Auth component
works like a charm.
I read the tutorials on lemoncake and added the Acl behaviour to my
User and Group model. So AROs are managed automatically, no problems
here.
ACOs are still giving me a hard time. I want to be able to set
per
Thanks, I already solved the problem earlier. The mysql.sock was
located in: /Applications/MAMP/tmp/mysql/mysql.sock
Now it finally works.
On 7 Okt., 18:06, DrZippie <[EMAIL PROTECTED]> wrote:
> You must have mysql installed and running.
>
> When I Installed MySQL 5 in my iMac I got the same prob
You must have mysql installed and running.
When I Installed MySQL 5 in my iMac I got the same problem, with the
symbolic link I solved the problem.
Try to start mysql server, and search the mysql.sock with
locate mysql.sock
2007/10/7, mich <[EMAIL PROTECTED]>:
>
> On 7 Okt., 01:42, DrZip
On 7 Okt., 01:42, DrZippie <[EMAIL PROTECTED]> wrote:
> In the terminal execute:
>
> sudo mkdir /var/mysql
> sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
I tried that, but the errors are still there, although the symbolic
link was created (checked it with the terminal). However there
To solve this problem in Mac OS X, you must create a symbolic link
from the right place to the socket.
In the terminal execute:
sudo mkdir /var/mysql
sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
2007/10/6, mich <[EMAIL PROTECTED]>:
>
> I tried to set up ACL but I got the follo
D]> wrote:
> On 10/5/07, mich <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks for your opinion. I read the blog post you mentioned and found
> > a very useful.
>
> > One thing I like about othAuth is that you can access the authed
> > user's data
ote:
>
>
>
> > Thanks for your opinion. I read the blog post you mentioned and found
> > a very useful.
>
> > One thing I like about othAuth is that you can access the authed
> > user's data in any controller or view with $this->othAuth->user().
On 10/5/07, mich <[EMAIL PROTECTED]> wrote:
>
> Thanks for your opinion. I read the blog post you mentioned and found
> a very useful.
>
> One thing I like about othAuth is that you can access the authed
> user's data in any controller or view with $this->othAu
Thanks for your opinion. I read the blog post you mentioned and found
a very useful.
One thing I like about othAuth is that you can access the authed
user's data in any controller or view with $this->othAuth->user(). Is
there a similar function in the Auth component?
On 5 Okt., 16
Thanks for your opinion. I read your article you were talking about
and found it very useful.
Something I like about othAuth is the fact that you can easily access
the data of the currently authed user inside the controller or view
with $this->othAuth->user() and $othAuth->user().
On 10/5/07, mich <[EMAIL PROTECTED]> wrote:
>
>
> However I'm in interested in other people's opinions about which
> component is better and the pros and cons. :)
>
I recommend using the Auth component, and have blogged several times
with some examples about how to use it.
--
Chris Hartjes
Hello guys.
Currently I'm using othAuth to handle user authorisation and
permissions. I recently came across an article about the "new"
AuthComponent in Cake 1.2. Now I'm thinking about switching to the
official AuthComponent because somehow it doesn't feel right using
>
> > Seriously, though, I hope you get it to work as I'm, too, a self-
> > proclaimed moron (ok, maybe the title was "volunteered" on me by
> > others). Adding auth to my big app is something I'll do at the end
> > after I just build it first (damn it!).
ntation themselves...they get volunteered by others :)
>
> Seriously, though, I hope you get it to work as I'm, too, a self-
> proclaimed moron (ok, maybe the title was "volunteered" on me by
> others). Adding auth to my big app is something I'll do at the end
> aft
med moron (ok, maybe the title was "volunteered" on me by
others). Adding auth to my big app is something I'll do at the end
after I just build it first (damn it!). By that time, othAuth should
be at like version 12 and when it doesn't work for me, I'll be quite
convinced it
or me either.
Again, someone needs to put a a "For Dummies" lol.
But ok, this is what I'm gonna do. I'm gonna give othAuth another try and
I'll give you guys my specific errors, how's that sound?
If I can get it to work, then I'll write a tutorial fo
Baz - what problems did you have exactly? It works well othAuth
system! You shouldnt just sound off, if you don't specify problems :(
there isnt much to set it up either, the docs in the bakery are quite
full if you read them.
Luke
On Aug 20, 8:11 am, <[EMAIL PROTECTED]> wrote:
&
@googlegroups.com
Oggetto: Re: othAuth component v0.5.4.5
Tried that, didn't really work out.
Had to backtrack to obAuth, because I really needed something to
work and work now.
Oh well. One day I hope someone writes a "F
PROTECTED]> wrote:
>
>
> http://bakery.cakephp.org/articles/view/othauth-0-5-documentation
>
> On Aug 18, 7:34 pm, "MURAT OBALI" <[EMAIL PROTECTED]> wrote:
> > Hi Friends,
> >
> > I'm a newbie about php and Cakephp. and I need some help
http://bakery.cakephp.org/articles/view/othauth-0-5-documentation
On Aug 18, 7:34 pm, "MURAT OBALI" <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>
> I'm a newbie about php and Cakephp. and I need some help. I want to do
> a web site using Cake and first of al
Hi Friends,
I'm a newbie about php and Cakephp. and I need some help. I want to do
a web site using Cake and first of all I want to need an authorization
system and I decided to use othAuth component v0.5.4.5. But I could
not succeed to install it. Is there any step by step manual or coul
Can anybody point me in the direction where I can read about othAuth's
'nao' mode, where a user can belong to multiple groups?
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to th
Hi Bakers,
I've been trying to get othAuth working in conjunction with this
bakery article
http://bakery.cakephp.org/articles/view/using-cake_admin-for-multiple-user-types
In a nutshell I want to:
1. separate the natural logic of my app by group (admins, contractors, users)
2. r
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
> > permission
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
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(
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
' =>
'display', 'home'));
$Route->connect('/pages/*', array('controller' => 'pages', 'action' =>
'display'));
$Route->connect('/tests', array('controller' => 'tests', 'action
Hi !
Im new to cake but have quickly became found of it and are now
building a site that requires auth. othAuth seems like a great
component and have played around with it but can't get it working
completely as I would like. I have searched for an answer but without
luck so here are m
te:
> Hello all,
>
> I was wondering if somebody know how you can add/edit/delete groups
> permissions online with othauth Hope somebody does...
>
> Ciao
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hello all,
I was wondering if somebody know how you can add/edit/delete groups
permissions online with othauth Hope somebody does...
Ciao
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
I got mine working using HABTM as described in the OP.
1. Followed steps in original post.
2. Commented out both references to $row[$this->user_model][$this-
>user_table_gid];
3. In function _othCheckPermission, changed:
if(!isset($ses[$this->group_model][$this->permission_model]))
to:
if(!isset(
People, please help in this question.
On 3, 04:13, Wole <[EMAIL PROTECTED]> wrote:
> I'm also working on fixing the nao authentication because I really
> need it in my app and think it will be beneficial to all. When I tried
> the nao mode I kept getting an error that said
>
> Uninitialized s
I'm also working on fixing the nao authentication because I really
need it in my app and think it will be beneficial to all. When I tried
the nao mode I kept getting an error that said
Uninitialized string offset: 0 in [path to oth_auth.php] on line 416.
I checked line 416 of the naoLogin functi
please say. Where I can read docs, how use NAO mode in othAuth
component
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegro
Hi All,
I am implementing the othAuth component in a new project for which I quickly
drafted a demoversion using scaffolding (I love cake for it). When I tested
it on my two development servers all was fine, but putting it on the server
of the client the app broke with the above error in the
Hi All,
I am implementing the othAuth component in a new project for which I quickly
drafted a demoversion using scaffolding (I love cake for it). When I tested
it on my two development servers all was fine, but putting it on the server
of the client the app broke with the above error in the
Well it seems to be a PHP limitation.
I can't do:
if (!empty($this->othAuth->group('level')))
But I can do
$var = $this->othAuth->group('level');
if (!empty($var))
Tane
On 5/21/07, Tane Piper <[EMAIL PROTECTED]> wrote:
> On 5/21/07, CraZyLeGs <
On 5/21/07, CraZyLeGs <[EMAIL PROTECTED]> wrote:
> I don't know about your error does it happen for $this->othAuth-
> >group('name') for example ?
>
Yea, it does - same error.
Tane
--~--~-~--~~~---~--~~
You received this m
#x27;))) {
$this->render($param);
}
$this->render('foo');
}
I don't know about your error does it happen for $this->othAuth-
>group('name') for example ?
On May 21, 7:11 am, "Tane Piper" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'v
Hi,
I've had a look at this over the weekend, not had any luck with it?
Would anyone be able to propose a possible solution?
On 5/18/07, Tane Piper <[EMAIL PROTECTED]> wrote:
> I'm adding user levels to my content, as some I only want to show some
> content to certain use
I'm adding user levels to my content, as some I only want to show some
content to certain users. I'm using othAuth, and this is how I
currently have my function:
function index()
{
if (!empty($this->othAuth-
Hi, I have an app where I'm using othAuth for my login /
authentication. The app has two levels of users - administrators and
registered users.
At the moment when I log in with a username in the administrators
group I have the app set up to send me to the administration page.
>From the
Hi, I have an app where I'm using othAuth for my login /
authentication. The app has two levels of users - administrators and
registered users.
At the moment when I log in with a username in the administrators
group I have the app set up to send me to the administration page.
>From the
oh ok cool
so really, the hit should be negligible.
I'll do some benchmarking when i have progressed some more and see how
it goes.
thanks!
On May 15, 4:51 pm, CraZyLeGs <[EMAIL PROTECTED]> wrote:
> othAuth only does a session check, if the the action is public it
> d
othAuth only does a session check, if the the action is public it
doesn't even go to the session.
but yea to each his/her needs
On May 14, 7:17 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 5/14/07, Dave J <[EMAIL PROTECTED]> wrote:
>
>
>
> >
he same
> controller). Now, on a heavily visited site... does anyone have
> experience regarding any slowdowns by using the othAuth component?
That's how I personally would do it. Keep the auth stuff for the
areas that need it.
--
Chris Hartjes
My motto for 2007: "Just bui
Hi guys,
I've just started using CakePHP a couple of weeks ago and so far I'm
beyond impressed with its flexibily and simplicity. I'm currently
implementing othAuth for the administration pages of the app and so
far its been great and works fine.
My question is this. as
Hi folks,
Having an issue with othAuth that I want to get rid of. What seems to
happen is when the users session expires, if they visit any page all
they get is a blank page. Checking it with Firebug, all I seem to get
is an empty tag in between the body tags. This of course only
happens
How right you where. Now all I have to do is to understand how
permissions are supposed to work in othAuth ...
When I print out using $othAuth->getData data["Group"]["Permission"]
is empty.
On May 1, 10:38 am, CraZyLeGs <[EMAIL PROTECTED]> wrote:
> Likely you
Likely you have an old version. Update your cake version, _viewVars
has been changed to viewVars. even in 1.1
On Apr 30, 9:44 am, matlin <[EMAIL PROTECTED]> wrote:
> I tried to reply to a thread where people were having problems with
> oth_auth
> I got the error below when I started to use the co
I tried to reply to a thread where people were having problems with
oth_auth
I got the error below when I started to use the component/helper and
found a solotion.
Notice: Undefined property: hashkey in /afs/su.se/services/www/hosts/
www.lab.it.su.se/pages/cake/app/views/helpers/oth_auth.php on l
notice you have $this->set('auth_msg', $this->othAuth-
>getMsg($auth_num));
and you don't print it in the view, it has some login hints for the
user. like user/login incorrect etc..
On Apr 23, 7:07 pm, Stacey <[EMAIL PROTECTED]> wrote:
> ok, i'm stupid. i am
ok, i'm stupid. i am new to cake, and thought that othAuth somehow
handled the field validation. after reading some posts, i realized i
need to do it myself. got it working...thanks.
On Apr 23, 12:30 pm, Stacey <[EMAIL PROTECTED]> wrote:
> hi all,
>
> cake version: v1.1.1
hi all,
cake version: v1.1.13.4450
i've been trying to implement othAuth, and seem to be having a problem
with login errors. it seems to be installed properly...if i login with
the correct password, it lets me access the pages. but, it is not
returning any errors if the login is incorrect
Is there any documentation for using othauth in nao mode?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from
have no access.
This might be resolvable. I'll try to solve this and keep all
informed.
LSL
LSL napsal:
> Hallo.
> I have made othAuth working just in oth mode according to othAuth
> documentation (http://bakery.cakephp.org/articles/view/148). I would
> like to make it working in
Hallo.
I have made othAuth working just in oth mode according to othAuth
documentation (http://bakery.cakephp.org/articles/view/148). I would
like to make it working in nao mode so I can have more groups user
belongs to.
I have not found any docs about this mode so I have tried to do it
myself
log someone without password ? eh talk about security..
maybe a hash of the password and login with some salt
Anyway look here http://bakery.cakephp.org/articles/view/99 in the
comments "11 Howto automaticly sign in a user."
On Apr 6, 11:54 pm, "Bootstrapper" <[EMAIL PROTECTED]>
wrote:
> Excell
log someone without password ? eh talk about security..
maybe a hash of the password and login with some salt
Anyway look here http://bakery.cakephp.org/articles/view/99 in the
comments "11 Howto automaticly sign in a user."
On Apr 6, 11:54 pm, "Bootstrapper" <[EMAIL PROTECTED]>
wrote:
> Excell
Excellent! Thanks CraZyLeGs!
Just to verify - I assume the PHP code you're talking about below goes
into the PHP file that the CRON job calls, right? This is basically
the code for logging someone directly through code, rather than
through the login form.
But isn't there a way to directly log so
disable auto redirects in
othAuth, login() and then call requestAction. logout() if you need
afterwards.
something like( not tested):
$this->othAuth->auto_redirect = false;
$this->data[$this->othAuth->user_model][$this->othAuth-
>user_login_var] = 'login';
$this->
I'm generating a view that is emailed to my subscribers regularly
through a CRON job. It works fine if the CRON job is only accessing
actions that are unprotected by OthAuth (for example if var
$othAuthRestrictions = null;).
It's alright if the initial action being called is unprot
action you just query after that token.
$condition = array('Users.email_token = $emailtoken');
Get the data, an temp var like $temp = $this->User->find($condition);
Then you clear the array with $this->data = array();
This is important, because othAuth tries to rehash the hashed pwd,
1 - 100 of 239 matches
Mail list logo