Log message #1031730

# At Username Text
# Sep 11th 2009, 09:48 markstory then the unbindModel()
# Sep 11th 2009, 09:48 markstory but the bindModel() first.
# Sep 11th 2009, 09:48 markstory well you have two associations to Note.
# Sep 11th 2009, 09:47 jessica-m what do you mean type it in? where?
# Sep 11th 2009, 09:47 zboarapuisor hi
# Sep 11th 2009, 09:47 TehTreag ~tell hmv about bin
# Sep 11th 2009, 09:47 TehTreag ~tell hmv about pastebin
# Sep 11th 2009, 09:47 TehTreag hmv: Can you pastebin what you have?
# Sep 11th 2009, 09:47 markstory type it in.
# Sep 11th 2009, 09:46 jessica-m how do i do that?
# Sep 11th 2009, 09:46 jessica-m it is left joining notes twice
# Sep 11th 2009, 09:46 markstory use a different alias..
# Sep 11th 2009, 09:46 jessica-m how can i fix this?
# Sep 11th 2009, 09:46 jessica-m for some reason i am getting an error with a non unique alias
# Sep 11th 2009, 09:46 jessica-m http://bin.cakephp.org/view/494592345
# Sep 11th 2009, 09:42 hmv i ll bake the whole model again thanks for the response
# Sep 11th 2009, 09:41 hmv @markstory i hav used the same for hash('temp',null,true) and now i even tried as tehtreag said sha1($salt.$password) i got same results but still not able to figure it out
# Sep 11th 2009, 09:40 _chris_ cos i am returning a json but part of it needs to come from an element
# Sep 11th 2009, 09:39 _chris_ can i load up the contents of an element into a variable to return to an ajax call?
# Sep 11th 2009, 09:37 markstory and just think if you had baked a users/add method you would have never even had this problem :)
# Sep 11th 2009, 09:36 markstory hmv: so your passwords will never match.
# Sep 11th 2009, 09:36 markstory TehTreag: yeah I'm a buzzkill like that.
# Sep 11th 2009, 09:33 TehTreag|AFK markstory: You take all the fun out of reading the api.
# Sep 11th 2009, 09:33 markstory is the proper way for salty hashes
# Sep 11th 2009, 09:33 markstory hash('temp', null, true);
# Sep 11th 2009, 09:32 _patton hmv: function hash($string, $type = null, $salt = false) {
# Sep 11th 2009, 09:32 _patton hmv: if you are using Security::hash('temp') maybe you need to specify the salt. auth might be using that when it hashes the password you pass it, before it matches against what you have in the db
# Sep 11th 2009, 09:30 TehTreag|AFK __mork1: nanu-nanu
# Sep 11th 2009, 09:30 __mork1 bye folks. happy coding
# Sep 11th 2009, 09:30 TehTreag|AFK hmv: hmvrulz: _patton: http://irc.cakephp.org/logs/link/1031692#message1031702
# Sep 11th 2009, 09:30 KarlHungus ACTION sighs
# Sep 11th 2009, 09:30 _patton hmv: sorry, forget that last comment
# Sep 11th 2009, 09:29 _patton hmv: not via cake? does the salt go first or last? I'm not sure...
# Sep 11th 2009, 09:29 hmv so i hav used that function
# Sep 11th 2009, 09:29 hmv in the database
# Sep 11th 2009, 09:29 hmv @patton but i am inserting it manually
# Sep 11th 2009, 09:28 _patton hmvrulz: if you are using auth component, you don't need to hash the password manually using Security class, auth will do that for you when the user is registered...
# Sep 11th 2009, 09:28 _chris_ can i load the contents of an element into a variable in a controller?
# Sep 11th 2009, 09:28 hmvrulz http://book.cakephp.org/view/172/Authentication i hav done as this manual nothing extra
# Sep 11th 2009, 09:27 hmvrulz do i have to
# Sep 11th 2009, 09:27 hmvrulz @_patton i am not checkin anything i hav left login action blank