I have this same problem but haven't been able to find a solution. If
you find something could you let me know. My page keeps redirecting to
myurl/img/spacer.gif which makes no sense to me.
Thanks
Rich
On Jul 2, 6:04 am, Populus [EMAIL PROTECTED] wrote:
Hi
I'm having a problem with the auth
Hmmm.. shouldn't it be:
$this-Auth-loginRedirect = array('controller' = 'users'); // no
action
$this-Auth-logoutRedirect = '/'; // no array
Or am I missing something?
On Jul 2, 12:04 pm, Populus [EMAIL PROTECTED] wrote:
Hi
I'm having a problem with the auth component not redirecting
On 2 Jul, 16:54, dr. Hannibal Lecter [EMAIL PROTECTED] wrote:
Hmmm.. shouldn't it be:
$this-Auth-loginRedirect = array('controller' = 'users'); // no
action
$this-Auth-logoutRedirect = '/'; // no array
I'm sure you're right, but the manual says this:
$this-Auth-loginRedirect =
On 2 Jul, 17:27, dr. Hannibal Lecter [EMAIL PROTECTED] wrote:
I see what you mean, but I'm not sure that you can put 'action' = '/'
or 'controller' = '/'.
Sorry, I missed that. Nope, I wouldn't want to be doing that even if
it was valid.
--~--~-~--~~~---~--~~
where to go after a
login has succeeded
function loginRedirect()
{
$this-log('users/LoginRedirect()', LOG_DEBUG);
if (parent::getAuthGroup() === ADMIN)
{
$this-log('--redirecting to admin', LOG_DEBUG);
$this-redirect('/admin/myCtrl/index');
}
else
{
$this-log('--redirecting to normal
= false; // -- handle redirecting yourself
}
2. create a loginRedirect action which determines where to go after a
login has succeeded
function loginRedirect()
{
$this-log('users/LoginRedirect()', LOG_DEBUG);
if (parent::getAuthGroup() === ADMIN)
{
$this-log('--redirecting
) as an array like this:
array('controller'='User','action'='login') because cake doesnt add
the /verwaltung/ in front of it, so i end up with sth like
www.mydomain.de/verwaltung/user/login/user/login or specificly in my
standard auth login action i end up in an infinite loop that leads me
deeper
cakedir is /verwaltung/cake appdir is /verwaltung/app/.
The Problem:
There seem to be problems with the paths in some situations at all,
what I try to solve specificly now is the following problem that might
have the same reason as the path problems.
I try to use the auth component, have a login
In addition to what Jonathon states. Place your layout.ctp file into
you app/views/layouts directory.
Gary
On Thu, Jun 26, 2008 at 6:39 AM, RJ [EMAIL PROTECTED] wrote:
Hi,
How should i explicitly exclude the default layout from my login page.
For the other views , i need the default layout
Hi,
How should i explicitly exclude the default layout from my login page.
For the other views , i need the default layout
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
function login () {
$this-layout = 'login';
}
On Thu, Jun 26, 2008 at 7:39 AM, RJ [EMAIL PROTECTED] wrote:
Hi,
How should i explicitly exclude the default layout from my login page.
For the other views , i need the default layout
--~--~-~--~~~---~--~~
You
Hi
I'd like to clear the session upon Auth login. However, there does not
seem to be a hook/lifecycle event available to do this?
The login() method is used to render the form, but does not appear to
be called when the form is submitted. Presumably, Auth intercepts the
form post, and upon
(All users start / login here)
Once logged in, a user will see a menu show up on the right or left,
depending on the theme they have set in their preferences, that will
allow them to access the sub-apps, such as:
http://sub1.domain.com
http://sub2.domain.com
http://sub3.domain.com
etc
, any pointers to such would be helpful...
http://www.domain.com(All users start / login here)
Once logged in, a user will see a menu show up on the right or left,
depending on the theme they have set in their preferences, that will
allow them to access the sub-apps, such as:
http://sub1
That is why I was thinking of having it look for the original cookie
set on login, then connect to the root site's DB, grab the needed row
from the Users table for that specific user, then switch back to it's
own DB, and set the needed session data there and take the ID from the
previously
much working off of the examples in the Cook Book:
http://book.cakephp.org/view/172/authentication
I have the same login() function.
This is what I've noticed.
After isAuthorized returns false (user logs in, but is not authorized)
I get redirected to:
$controller-redirect($this-noaccessRedirect
I'm having a problem with the login redirect. everytime I login, it
redirects to /users/img/spacer.gif, which is a file in my img
directory. I'm using the built-in Auth login. no code in the login
action . . .
This is in my app_controller . . .
$this-Auth-loginAction = array('controller
I forgot my username in bakery. :-) How to restore it? 'Reset
password' just resets password :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
try putting some
$this-log('custom-login-debug', 'users_controller.php login...');
to trace what you've got happening.
(not to flog a dead horse but auth is great for simple systems too)
2008/6/10 Arak Tai'Roth [EMAIL PROTECTED]:
I know that auth isn't the same as ACL, but they can be used
As I understood, you can login and never been redirect (I mean you do
not see the page should be redirected to) ?
Is it for admin only, or can you see the /clients when not being
admin ?
If so it can be an admin problem routing.
hth
On Jun 10, 8:01 am, Sam Sherlock [EMAIL PROTECTED] wrote:
try
On my current dev machine CakePHP gives me a completely blank page
without any indication of what went wrong whenever my view uses a non-
defined variable. So replace your view with one that just says hello
for a second and see if that gets printed; if so you know the prob.
Well, I do appreciate the help, and would love it if someone was able
to fix this problem anyways for me. I think I might just switch to
auth, I originally didn't use auth because I thought it was going to
be more work, clearly that is no longer the case as I could have been
done this had I used
Apparently it posted the second message I sent and not the first one,
so here is the first one over again.
@Sam
I did what you asked, and it does indeed add the messages to the
error log in every function, including the admin_index function, but I
don't know how this helps me
@francky061
Did you try to redirect to another controller/action not in admin
route ?
On Jun 10, 8:38 pm, Arak Tai'Roth [EMAIL PROTECTED] wrote:
Apparently it posted the second message I sent and not the first one,
so here is the first one over again.
@Sam
I did what you asked, and it does indeed
So. I have coded a login, using admin routing, to a backend
administrative portion of my site. However when I actually login, all
it shows is a blank page and it doesn't seem to be hitting my
admin_index function in my controller. I was just wondering if anyone
has any insight to this problem, I
a login, using admin routing, to a backend
administrative portion of my site. However when I actually login, all
it shows is a blank page and it doesn't seem to be hitting my
admin_index function in my controller. I was just wondering if anyone
has any insight to this problem, I have already
-findByUsername($this-data['User']
['username']);
if (!empty($dbuser)
($dbuser['User']['password'] == sha1($this-
data['User']['password'])))
have you tried using auth?
2008/6/9 Arak Tai'Roth [EMAIL PROTECTED]:
So. I have coded a login, using admin
I wasn't sure if auth would work as easily for what I want later on,
dealing with multiple groups of users. And yes I know about ACL, I
just figured doing it this way now would save me micro management down
the road.
Auth != ACL
And yes, Auth will handle multiple groups of users just fine.
I know that auth isn't the same as ACL, but they can be used together
for some pretty neat stuff in my opinion. I just had looked at auth
and thought that because my needs are fairly simple (3 different
groups of users, only 2 that need to be accounted for, and 1 will only
have one user in it),
Hello,
It's about the Auth component (again). I'm allowing logged users to
vote for a picture. Users that aren't logged can click on the vote
link which redirects them to the login page. I want to inform them
that they need to log in in order to be able to vote (with a message),
and I don't
The scenario leveille brings up is the one I'm in. This is more of an
extranet than an intranet. The server is off-site, and is being
accessed by many people who all share the same IP.
My solution was this:
1: upon entry to user login form, check if user's IP is associated
with a threshold
Hey folks .. OP here ..
Curious if anyone has any insight on this problem that is still
plaguing my app! Any assistance would be MUCH appreciated.
John
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
PROTECTED] wrote:
When a user is at http://roar.domain.com and clicks on say, upload
photo (that requires login) http://roar.domain.com/upload, it takes
them to http://www.domain.com, just like a good little app.
However, after a successful login, it takes them to
http://www.domain.com/upload
On May 28, 5:29 pm, John R [EMAIL PROTECTED] wrote:
Hey folks .. OP here ..
Curious if anyone has any insight on this problem that is still
plaguing my app! Any assistance would be MUCH appreciated.
John
Have you tried peeking at the session and seeing what (if any) address
is located at
[EMAIL PROTECTED] wrote:
I am trying to figure out the most reliable way of restricting login
attempts while using the Auth Component.
Here is my best stab at the problem thus far:
http://cakeforge.org/snippet/detail.php?type=snippetid=220
I'd love to hear what other people
For some reason, my Auth component is redirecting to an image... and
I'm not sure where to debug.
I'm assuming this is stored in the session, and while I play with
dumping some session stats, I'd figure I'd see if anyone else has the
issue.
The weirder issue is, I'm using the thickbox.js
Paste some code here
http://bin.cakephp.org/
also have you tried removing jquery+thickbox to see what happens then?
Also try setting debug to 1 or 2 in config/core.php
2008/5/23 theandystratton [EMAIL PROTECTED]:
For some reason, my Auth component is redirecting to an image... and
I'm not
I am trying to figure out the most reliable way of restricting login
attempts while using the Auth Component.
Here is my best stab at the problem thus far:
http://cakeforge.org/snippet/detail.php?type=snippetid=220
I'd love to hear what other people have done, or what they think of
the method
Assuming that your blocking their IP, because you think a hacking attempt is
taking place.
Usually, hacking attempts are performed by robots, and it wouldn't be hard to
have the robot retry every 5 minutes.
I think storing the IP address in the session isn't useful. If they fail to
login
to figure out the most reliable way of restricting login
attempts while using the Auth Component.
Here is my best stab at the problem thus far:
http://cakeforge.org/snippet/detail.php?type=snippetid=220
I'd love to hear what other people have done, or what they think of
the method I am
It may need some changes to make it work with 1.2 but I think it's
simple and does it's job.
On May 22, 9:13 pm, aranworld [EMAIL PROTECTED] wrote:
I am trying to figure out the most reliable way of restricting login
attempts while using the Auth Component.
Here is my best stab
It may need some changes to make it work with 1.2 but I think it's
simple and does it's job.
On May 22, 9:13 pm, aranworld [EMAIL PROTECTED] wrote:
I am trying to figure out the most reliable way of restricting login
attempts while using the Auth Component.
Here is my best stab
hello,
I have a problem with 1.2 auth:
http://www.kende.com/test/ - redirects to login = this is good ..
but for a missing controller/action/view :
http://www.kende.com/test/dadadmfsf/ - shows Not Found should also
redirect first to login...
?php
class AppController extends Controller {
var
I'd think you'd need to do something with Dispatcher for that. But I
have a feeling that, were you to do that, Auth would want to redirect
you to the path you originally tried after logging in, resulting in a
loop. The loginRedirect path is used for when the user goes directly
to login. When Auth
response.
- Original Message
From: Andras Kende [EMAIL PROTECTED]
To: CakePHP cake-php@googlegroups.com
Sent: Friday, May 16, 2008 2:21:58 PM
Subject: 1.2 auth missing controller/action/view - redirect to login
hello,
I have a problem with 1.2 auth:
http://www.kende.com/test
Sent: Friday, May 16, 2008 2:21:58 PM
Subject: 1.2 auth missing controller/action/view - redirect to login
hello,
I have a problem with 1.2 auth:
http://www.kende.com/test/ - redirects to login = this is good ..
but for a missing controller/action/view :
http://www.kende.com/test
Folks, this *can* be done if you dig deep enough. I know it is bad
karma to modify the source, but I've done it - to add LDAP
authentication capability to Auth. I even have the diffs against
6311 :-) The trick is to look at the identify() method in auth.php.
Essentially the hard coded call to
Hey
On Wed, Apr 30, 2008 at 3:49 PM, Aitch [EMAIL PROTECTED] wrote:
Folks, this *can* be done if you dig deep enough. I know it is bad
karma to modify the source, but I've done it - to add LDAP
authentication capability to Auth. I even have the diffs against
6311 :-) The trick is to
I'd agree with you in most circumstances (inheritance) - in this instance I
broke the advice never to touch the core
The key point is not to write an LdapAuth or WhateverAuth, the objective was
to create a few lines in Auth that allows you to call an external method to
do whatever validation you
, and they will *never* have a related password. I'd
like to still use an action of login for the User model. From what I
can tell, the only ways I can do this are a bit hackish...which would
be the best (or is there better)?
1. $this-Auth-loginAction = array('admin' = false, 'controller' =
'members
that users will not initially have any related model data
in the User model, and they will *never* have a related password. I'd
like to still use an action of login for the User model. From what I
can tell, the only ways I can do this are a bit hackish...which would
be the best
to still use an action of login for the User model. From what I
can tell, the only ways I can do this are a bit hackish...which would
be the best (or is there better)?
Well, you could always write a custom model that connects to your SSL
webservice, and make sure to include the methods
accessible via a SSL webservice call.
This means that users will not initially have any related model data
in the User model, and they will *never* have a related password. I'd
like to still use an action of login for the User model. From what I
can tell, the only ways I can do
On Tue, Apr 29, 2008 at 3:54 PM, BrendonKoz [EMAIL PROTECTED] wrote:
Assuming this is something you've done before, or at least thought
through...by a custom model, surely you mean extending the Model class
and overriding any incompatible methods, right? I just checked all of
the
in the User model, and they will *never* have a related password. I'd
like to still use an action of login for the User model. From what I
can tell, the only ways I can do this are a bit hackish...which would
be the best (or is there better)?
I am working on site using openid and here
is not stored in a database that
I have access to, it is only accessible via a SSL webservice call.
This means that users will not initially have any related model data
in the User model, and they will *never* have a related password. I'd
like to still use an action of login for the User
If one doesn't exist, would an enhancement request help to solidify
that? Thanks for the update, Nate.
On Apr 29, 4:32 pm, nate [EMAIL PROTECTED] wrote:
The Auth component will *probably* be refactored to provide for an
adapter-like interface before 1.2 final.
Hmm what is the best practice then to allow default everything? i
basically only need a login for the admin.
On Apr 20, 2:19 am, Joel Perras [EMAIL PROTECTED] wrote:
By allowing all actions by default in your AppController, you
effectively break theAuthcomponent, since it freaks out when you
I am using sifr, and some other javascripts which call othr files but
then the login does not work anymore correctly for example it goes to:
http://localhost/scms/admin/users/sifr/myriad_pro.swf
Does anybody know a proper way to fix this, instead of changeing the
paths in the javascript files
On Apr 19, 5:03 pm, Mech7 [EMAIL PROTECTED] wrote:
I am using sifr, and some other javascripts which call othr files but
then the login does not work anymore correctly for example it goes to:
http://localhost/scms/admin/users/sifr/myriad_pro.swf
Does anybody know a proper way to fix
';
$this-Auth-userScope = array('User.active' = 1); //user
needs to
be active.
$this-Auth-loginAction = array('controller' = 'users',
'action'
= 'login');
$this-Auth-loginRedirect = array('controller' = 'pages',
'display' = 'home
By allowing all actions by default in your AppController, you
effectively break the Auth component, since it freaks out when you
allow the login() function in your Users controller. I'd bet a shiny
penny that this is at least part of your problem.
-J.
On Apr 19, 4:46 pm, Mech7 [EMAIL PROTECTED
When a user is at http://roar.domain.com and clicks on say, upload
photo (that requires login) http://roar.domain.com/upload, it takes
them to http://www.domain.com, just like a good little app.
However, after a successful login, it takes them to http://www.domain.com/upload
Any idea how I can
I hit login FROM the subdomain, this is my
$_SESSION:
Array ( [Config] = Array ( [userAgent] = XXX [time] =
1207229748 [rand] = X [timeout] = 10 ) [Auth] = Array
( [redirect] =http://sample.domain.com/contest) )
The [redirect] is fine ..
When I do a successful login and it goes
So strange .. when I hit login FROM the subdomain, this is my
$_SESSION:
Array ( [Config] = Array ( [userAgent] = XXX [time] =
1207229748 [rand] = X [timeout] = 10 ) [Auth] = Array
( [redirect] = http://sample.domain.com/contest ) )
The [redirect] is fine ..
When I do a successful
Nope ... I am using routing and baseURL is commented out.
Any other ideas here?
--~--~-~--~~~---~--~~
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@googlegroups.com
To
I have an application that uses virtual subdomains to point to a
controller.
If you are in http://sample.domain.com and click Login, it takes you
to http://www.domain.com/login like it is supposed to. However, when
you login, it redirects to:
http://www.domain.com/http:/sample.domain.com
I get the same issue as you, however, I only get it when I'm using the
cake pretty urls, not the .htaccess files. That is, when
Configure::write('App.baseUrl', env('SCRIPT_NAME')); in core.php is
uncommented.
Is that your case ?
--~--~-~--~~~---~--~~
You received
a page refresh. And on successful login, you could either
hide the login form and replace it with a 'logged-in' message. Or send
back a JS command to refresh the page, so the page would reflect the
new logged-in status
2) Or use the flash feature of the Session Component/Helper to return
any
Hey Nick,
You're right about that. I guess you can tackle it either two ways.
1) Submit the form using AJAX, so if there's any errors, you get them
back without a page refresh. And on successful login, you could either
hide the login form and replace it with a 'logged-in' message. Or send
back
Store referer in session (if referer is different from actual action)
and redirect to it when login is successful. Storing referer in
session is an idea of AD7six (http://bin.cakephp.org/view/316159681)
and it let you do some interesting tricks.
On Sun, Mar 23, 2008 at 7:20 PM, Dave J [EMAIL
Hola
I have a question about a login action.
If i use the default form on the login page everything works fine and
the users are directed to their home pages.
But if i use another form, that i have on another page (that has the
same input names) i get redirected to the regular login form
. MyAuth also contains a
login function. This function checks with the database to see if a
user should be authenticated via the password in the database or the
active directory.
My app_controller looks like so:
function beforeFilter()
{
if (isset($this-Auth
Hi all,
My user table/model has a state_id field. I'd like to configure Auth
so that it only lets people login is the state is a certain value. Is
there an easy way to do this?
Two lines in auth.php suggest it should be possible
38: $conditions = $this-userScope; // (previously $conditions
Use AuthComponent::$userScope = array() // accepts conditions in the
same way that Model::findAll()
On Fri, Feb 15, 2008 at 8:43 AM, Tim W [EMAIL PROTECTED] wrote:
Hi all,
My user table/model has a state_id field. I'd like to configure Auth
so that it only lets people login is the state
Just set $this-Auth-userScope = array('User.state_id' = WHATEVER);
in your controller's beforeFilter callback.
On Feb 15, 10:43 am, Tim W [EMAIL PROTECTED] wrote:
Hi all,
My user table/model has a state_id field. I'd like to configure Auth
so that it only lets people login is the state
table/model has a state_id field. I'd like to configure Auth
so that it only lets people login is the state is a certain value. Is
there an easy way to do this?
Two lines in auth.php suggest it should be possible
38: $conditions = $this-userScope; // (previously $conditions is a
null
] wrote:
Hi all,
My user table/model has a state_id field. I'd like to configure Auth
so that it only lets people login is the state is a certain value. Is
there an easy way to do this?
Two lines in auth.php suggest it should be possible
38: $conditions = $this-userScope
Hi,
I have a page with a user registration form and login form which is
using the Auth component. The issue is that since both use the same
User model, both forms are populating with the same data. i.e if you
enter invalid registration data both the login and registration form
are then populated
The 'allowEmpty' key should be assigned a boolean value.
Ah, thank you. That makes sense. So I've replaced this:
var $validate = array(
'name' = array(
'required' = VALID_NOT_EMPTY
)
);
With this now:
var $validate = array(
'name' = array(
array(
var $validate = array(
'name' = array(
'rule' = array('custom', VALID_NOT_EMPTY),
'message' = 'Can\'t be empty'
)
);
This is how i deal with not empty values. VALID_NOT_EMPTY may be
deprecated, but still it's just a constat so i can replace it with
it into the database just
fine..but after that, nothing happens... no flash, no redirect.
Have you made a login() function in /app/controllers/
users_controller.php? It looks like you've got the creation of new
users sorted, but you now need to let them log in, which is really a
separate process. You need
also, in regards to the second error, make sure in your model-validate
array, that you have apostrophes around the words 'VALID_NOT_EMPTY', which
should clear out that error.
Will it? I thought VALID_NOT_EMPTY *was* a constant, not a literal
string.
I've also heard on someone's blog that
The code i have creates my user and puts it into the database just
fine..but after that, nothing happens... no flash, no redirect.
Have you made a login() function in /app/controllers/
users_controller.php? It looks like you've got the creation of new
users sorted, but you now need to let them
in 1.2, it is required to be set in a string, or you could use the following
validation rule:
allowEmpty The 'allowEmpty' key should be assigned a boolean value. If '
allowEmpty' is false, data passed to the model's save() method must include
the field and a non-empty data value for that field.
'])) {
$this-User-create();
$this-User-save($this-data);
$this-redirect('login');
}
}
}
what am I doing wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group
try using the full path in the login redirect, i.e.
$this-redirect('/users/login');
you also should add the 'true' tag, if you are using CakePHP1.2, to
automatically call the exit() function after the redirect.
i.e.
$this-redirect('/users/login', true);
Hope this helps!
On Feb 7, 2008 5:43 PM
no luck yet, I tried this as well:
$this-redirect(array('controller'='users','action'='login'));
I'm also getting these things in the debug area...
Warning (512): /var/www/html/bradsCakeApp/app/tmp/cache/ is not
writable [CORE/cake/libs/cache/file.php, line 263]
Notice (8): Use of undefined
DAuth (patch in forgotpassword etc) + Cake ACL (patch in multi-groups
or whatever)
Good start:
http://www.realm3.com/articles/setting_up_user_groups_with_acl_and_auth_in_cakephp_1.2
-Ben
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Oh also a good idea to add HumanCheck or some kind of CAPTCHA on the
forgotpassword and register pages (even if turned off by default you
may need it later)
-Ben
On Feb 8, 4:10 pm, Mr-Yellow [EMAIL PROTECTED] wrote:
DAuth (patch in forgotpassword etc) + Cake ACL (patch in multi-groups
or
Not that I know of. Would love to hear of one if there is!
On Feb 6, 1:40 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Anyone know if there is a well-tuned user management framework
available within the CakePHP community? Or even one that lies outside
of this community? I'd like to
There is an article in the bakery about ACL. Maybe this is something
you are searching for?
http://bakery.cakephp.org/articles/view/acl-management-plugin
Hope this helps...
Markus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi,
I am working on a plugin to manage auth/acl/registration. I have a
full working version now, but I need some returns from the
community... I cannot register in the bakery (problem since few days/
weeks...) so I cannot publish.
Here are some screenshots:
@jakebaker: Look exactly what I've been looking for! Quick, someone
sort this man out with a bakery account! :-)
On Feb 6, 1:22 pm, jakecake [EMAIL PROTECTED] wrote:
Hi,
I am working on a plugin to manage auth/acl/registration. I have a
full working version now, but I need some returns from
@jakebaker: Look exactly what I've been looking for! Quick, someone
sort this man out with a bakery account! :-)
Thanks Richard!
I thinks it's a pitty that the cake is down since so long time, and
during the cake fest!!
Jakecake
--~--~-~--~~~---~--~~
You
Jake , bakery is working i create an account recently, and i can write
a post. Whats your problem?
On 2/6/08, jakecake [EMAIL PROTECTED] wrote:
@jakebaker: Look exactly what I've been looking for! Quick, someone
sort this man out with a bakery account! :-)
Thanks Richard!
I thinks it's
If you want, i can create an account for you? but quick post that!
look like a cool plugin!
On 2/6/08, Axel Ariel Arroyo Braconi [EMAIL PROTECTED] wrote:
Jake , bakery is working i create an account recently, and i can write
a post. Whats your problem?
On 2/6/08, jakecake [EMAIL PROTECTED]
Jake , bakery is working i create an account recently, and i can write
a post. Whats your problem?
My problem is that I never received the confirmation mail. If I try to
register again, I get a weird message in the form so that this
username is already registred (and I'm supposed to reset it).
Jake i create an account and i send an email with datas access for
you, is active, just change the email, and password.
On 2/6/08, jakecake [EMAIL PROTECTED] wrote:
Jake , bakery is working i create an account recently, and i can write
a post. Whats your problem?
My problem is that I
In app_controller, use beforeFilter callback for verify if the user is
logged in, something like this:
function beforeFilter(){
if ($this-Session-check(userInfo)){
$this-set(loggedIn, true);
}
}
in your default.ctp layout (or other), you check if $loggedIn has been
1101 - 1200 of 1345 matches
Mail list logo