# |
Sep 13th 2009, 12:13 |
justskills |
guys i have no problem with validation |
# |
Sep 13th 2009, 12:11 |
TehTreag |
~tell justskills about google cakephp auth password validate |
# |
Sep 13th 2009, 12:10 |
TehTreag |
justskills: There are a few articles (try google) on validating passwords. I don't think there is any other case to disable it. |
# |
Sep 13th 2009, 12:08 |
justskills |
the auth component encrypts a empty password field. how can i disable that? |
# |
Sep 13th 2009, 12:08 |
justskills |
hey |
# |
Sep 13th 2009, 12:00 |
ionas |
any tip on how to translate a value of a variable like $messagesTitle (the value will be in english but should be translated using po files, like the __() usage) |
# |
Sep 13th 2009, 11:20 |
hyther |
http://www.pseudocoder.com/archives/2008/10/24/cakephp-custom-find-types/ |
# |
Sep 13th 2009, 11:20 |
hyther |
I found it , nevermind |
# |
Sep 13th 2009, 11:17 |
hyther |
I not need beforefind/afterfind, but change the find |
# |
Sep 13th 2009, 11:17 |
hyther |
? |
# |
Sep 13th 2009, 11:17 |
hyther |
that call after some logic script call standard find() |
# |
Sep 13th 2009, 11:17 |
hyther |
how could I make my own find() function ? |
# |
Sep 13th 2009, 11:16 |
hyther |
hello |
# |
Sep 13th 2009, 10:31 |
liaogz82 |
the db is for acl |
# |
Sep 13th 2009, 10:31 |
liaogz82 |
it is in ldap |
# |
Sep 13th 2009, 10:31 |
liaogz82 |
there is no db for login |
# |
Sep 13th 2009, 10:30 |
liaogz82 |
well no regret |
# |
Sep 13th 2009, 10:16 |
NoReGreT |
usually in login systems, is the admin user already created in the db without being added by someone in the web interface? |
# |
Sep 13th 2009, 10:12 |
liaogz82 |
in controller |
# |
Sep 13th 2009, 10:07 |
nini |
liaogz82: are you in controller or in console? |
# |
Sep 13th 2009, 10:06 |
liaogz82 |
so what should i put for the aco? |
# |
Sep 13th 2009, 10:06 |
liaogz82 |
i have check the api and it says check($ACO,ARO) |
# |
Sep 13th 2009, 10:05 |
liaogz82 |
ok so say i uses ldap email address to login |
# |
Sep 13th 2009, 10:05 |
nini |
liaogz82: yes. |
# |
Sep 13th 2009, 10:05 |
liaogz82 |
can i check does anyone knows how to use acl check? |
# |
Sep 13th 2009, 10:04 |
liaogz82 |
hi all, |
# |
Sep 13th 2009, 10:04 |
mr_pinc |
well yeah for controllers, but this seems to eliminate the need to use it in views |
# |
Sep 13th 2009, 10:03 |
savant |
i personally use diebug() :) |
# |
Sep 13th 2009, 10:02 |
savant |
you'll still need debug() |
# |
Sep 13th 2009, 10:02 |
mr_pinc |
well either way thanks for the help and this plugin info it's going to be super useful in the future. Now I never need a damn debug(); statement |
# |
Sep 13th 2009, 10:01 |
mr_pinc |
did you create that plugin? |
# |
Sep 13th 2009, 10:00 |
NoReGreT |
best thing to do for adding users is creating an add() action in the userscontroller ? (using auth ie) |
# |
Sep 13th 2009, 10:00 |
mr_pinc |
yes and annoying |
# |
Sep 13th 2009, 10:00 |
savant |
interesting. |
# |
Sep 13th 2009, 10:00 |
mr_pinc |
savant: I figured it out. There was an illegal character in the text ` instead of ' so it was not coming back |
# |
Sep 13th 2009, 09:59 |
NoReGreT |
thanks |
# |
Sep 13th 2009, 09:59 |
savant |
NoReGreT: that's because you are in debugmode. you can set it to lower than 2 (0 if you are in production) in the app/config/core.php file |
# |
Sep 13th 2009, 09:58 |
mr_pinc |
yeah, like I said all the other fields are returned ok |
# |
Sep 13th 2009, 09:58 |
savant |
and you are sure $id is being populated? |
# |
Sep 13th 2009, 09:58 |
NoReGreT |
in every page created, why there is teh query table below, how can i remove it |
# |
Sep 13th 2009, 09:58 |
mr_pinc |
all the other data in the form is fine |