ange
>> your password due a server problem, try again latter');
>> }
>> } else {
>> $this->Session->setFlash('Your password and your
>> retype must match');
>> }
>>
$this->Session->setFlash('Your password and your
> retype must match');
> }
> } else {
> $this->Session->setFlash('Password or retype not sent');
> }
> }
> }
>
>
> It
e {
$this->Session->setFlash('Your password and your retype
must match');
}
} else {
$this->Session->setFlash('Password or retype not sent');
}
}
}
It´s something like this
Em
Dana ponedjeljak, 27. svibnja 2013. 20:26:09 UTC+2, korisnik André Luis
napisao je:
>
> What is your doubt??
>
> Em sábado, 25 de maio de 2013 14h23min47s UTC-3, Igor Borovica escreveu:
>>
>> Can someone help me with change password function in cakephp?
>
>
Can
What is your doubt??
Em sábado, 25 de maio de 2013 14h23min47s UTC-3, Igor Borovica escreveu:
>
> Can someone help me with change password function in cakephp?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this m
Can someone help me with change password function in cakephp?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this
foldes Users called change_password.ctp
in the change password you have to put:
public function changePassword($id = null) {
if ($this->data) {
if ($this->User->save($this->data))
$this->Session->setFlash('Password changed successful
Start here like we all did
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html
then you won't be so new.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 27 Dec 2012, at 05:34, sweety wrote:
> how to hash?
>
> i am new to cakephp
>
>
> On Wednesday,
how to hash?
i am new to cakephp
On Wednesday, December 26, 2012 10:11:26 AM UTC-5, euromark wrote:
>
> just follow the documentation:
>
> http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
>
> you might also want to read
> http://www.dereuromark.de/2
just follow the documentation:
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
you might also want to read
http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/
use an alias field, hash and store the password. thats all there is to
You should never modify the database manually. You should have cakephp
update the database for you.
On Dec 26, 2012 1:15 AM, "crush" wrote:
> Turn debug to 2 in the config file. Login with the new password and copy
> the password string it posts in the debug at the bottom of the page after
> you
Turn debug to 2 in the config file. Login with the new password and copy
the password string it posts in the debug at the bottom of the page after
you try to login. Paste that into the database in the password field for
the appropriate user.
--
Like Us on FaceBook https://www.facebook.com/Cake
You can update it the same way you created it.
On Dec 25, 2012 7:11 PM, "euromark" wrote:
> did you try google?
>
>
> Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety:
>>
>>
>> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
did you try google?
Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety:
>
>
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post
That's nice.
On Dec 25, 2012 7:07 PM, "sweety" wrote:
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group,
even better:
use $this->Auth->password() from the auth component (if you use it)
On 11 Feb., 23:21, Ryan Schmidt wrote:
> On Feb 11, 2011, at 00:13, Ed wrote:
>
> > I am new to Cake but, am diving in head first... I've tried several
> > different types of coding examples on how to allow a User t
On Feb 11, 2011, at 00:13, Ed wrote:
> I am new to Cake but, am diving in head first... I've tried several
> different types of coding examples on how to allow a User to change
> their password. This is the version I am trying and we (my group) do
> have Auth working, so 'User' needs to be "Auth.U
I am new to Cake but, am diving in head first... I've tried several
different types of coding examples on how to allow a User to change
their password. This is the version I am trying and we (my group) do
have Auth working, so 'User' needs to be "Auth.User" ... Can anyone
give me an idea why it doe
Hi,
Check if the validation errors has any data or not. The code for this will
be something like
if ($this->User->save($this->data)) {
$this->Session->setFlash(__('Your account information has been saved',
true));
$this->redirect(array('controller' => 'users', 'action' => 'view'));
} else
Hi,
I'm using Cake 1.3.6, and I have a login page and a register page
working with my application using the Auth component, but as I try to
create a 'change password' page I'm finding that my validation
messages aren't showing up on my change_password.ctp page. I am us
function admin_login() {
$this->data['User']['passwort'] = md5($this->data['User']['passwort']);
$this->Auth->login($this->data);
}
2010/7/27 Davor Ilic
>
> function admin_login() {
> $this->data['User']['passwort'] = md5($this->data['User']['passwort']);
> $this->Au
function admin_login() {
$this->data['User']['passwort'] = md5($this->data['User']['passwort']);
$this->Auth->login($this->data);
}
2010/7/27 Davor Ilic
> or like this
>
>
> 2010/7/27 Davor Ilic
>
>> do i use the logn method wrong?
>>
>>
>> function admin_login() {
>> $this->Auth
or like this
2010/7/27 Davor Ilic
> do i use the logn method wrong?
>
>
> function admin_login() {
> $this->Auth->password($this->data['User']['passwort']);
>
> $this->Auth->login($this->data);
>
> }
>
> 2010/7/27 Davor Ilic
>
>> My login doesn´t redirect me to the securitysite.
>>
>> 201
do i use the logn method wrong?
function admin_login() {
$this->Auth->password($this->data['User']['passwort']);
$this->Auth->login($this->data);
}
2010/7/27 Davor Ilic
> My login doesn´t redirect me to the securitysite.
>
> 2010/7/27 Davor Ilic
>
> ok thats cool thanks. i have also a
My login doesn´t redirect me to the securitysite.
2010/7/27 Davor Ilic
> ok thats cool thanks. i have also another question.
>
> and where can i find this. because in my user table all of them don´t have
> a security salt or anything they are only in md5
> and my user have to login they don´t ne
ok thats cool thanks. i have also another question.
and where can i find this. because in my user table all of them don´t have a
security salt or anything they are only in md5
and my user have to login they don´t need any security salt only md5.
how can i cahange this.
2010/7/27 mike karthause
hi Davor
you probably need to sort your Auth fields array
http://book.cakephp.org/view/1251/Setting-Auth-Component-Variables
which will allow you to access pwd into Auth.
On 27 Jul 2010, at 18:08, Davor Ilic wrote:
> Hi i have a problem with my password row.
>
> i have to use the row -> pwd
Hi i have a problem with my password row.
i have to use the row -> pwd but if i do this to login i got this array:
Array
(
[User] => Array
(
[email] => m...@ema.il
[pwd] => mypassword
[password] =>
)
)
it seems that i can´t say don´t us
last' => true),
>
> > 'pass-Similar' => array(
> > 'rule' => 'checkPasswords',
> > 'message' => 'Different password entered.',
> >
gt; 'Different password entered.',
> 'last' => true)
> ),
>
>
> 'confirm' => array(
> 'confirm-notempty' => array(
> 'rule' => array('notempty
'required' => true,
'allowEmpty' => false,
'message' => 'Pleae confirm your password.')
),
...
function checkPasswords()
{
if($this-
Ok cool will give it a try.
Dave
-Original Message-
From: Miles J [mailto:mileswjohn...@gmail.com]
Sent: September-29-09 3:40 PM
To: CakePHP
Subject: Re: Change Password
I dont think hash() adds the security salt, you must use Auth->passw
I dont think hash() adds the security salt, you must use Auth->password
().
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscrib
I am trying to set up a change password section.
password field and confirm field only.
model:
validation rules:
'password' => array(
'pass-notempty' => array(
'rule' => array('notempty'),
'required' => true,
Reset Passwords in CakePHP
http://edwardawebb.com/programming/php-programming/cakephp/reset-lost-passwords-cakephp
On Jul 20, 1:24 pm, brian wrote:
> I've never had problems with this but there's lots of info online:
>
> http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS271&=&q=...
>
I've never had problems with this but there's lots of info online:
http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS271&=&q=cakephp+change+password&aq=f&oq=&aqi=g2
On Mon, Jul 20, 2009 at 7:10 AM, Pascal Messana wrote:
>
> Hi!
>
>
Hi!
I am trying to make a page where users can change their password.
The user has to insert the actual password and the new password in
form inputs, then submit the form.
Then, I want to compare the submitted password and the real password
(the one in the database).
I try to get the real passwo
thanks for the link.
by the way I did it with reference to code. It works now. Its a simple
password changing option: code is as below.
controller:
function changePassword($id=null) {
if (empty($this->data)) {
$this->data = $this->User->findById($id);
Perhaps this helps:
http://groups.google.com/group/cake-php/browse_thread/thread/f3653bac41f58733/ff236e99a8313057?lnk=gst&q=change+password#ff236e99a8313057
?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
Hi all,
I want to build the change password form that has username,old
password, new password and retype new password as input fields. I have
a link called change password. when I click the change password link.
the form should open in edit mode ie. username should be shown but it
doesn
looks good, but I get the following error on this line: '$user = $this-
>User->findById($this->Auth->User('id'))'
Fatal error: Call to a member function User() on a non-object in /var/
www/cake/app/controllers/users_controller.php on line 59
Also, what does the '$this->User->recursive = -1;' do?
My two cents:
Action in the controller:
function changePassword() {
if (!empty($this->data)) {
$this->User->recursive = -1;
$user = $this->User->findById($this->Auth->User('id'));
if($this->Auth->password($t
Trying to write a controller to change the password. The only guide I
have found to do this is at the following:
http://groups.google.com/group/cake-php/browse_thread/thread/83359000910910c5/63972a85d3d5b011?lnk=gst&q=change+password&rnum=1
However this appears to be using cake 1.x (be
I've been working on a form to allow users to change their passwords.
For the view, since I'm asking for data that is not part of the model
(newpassword, oldpassword, confirmpassword), I created an arbitrary
name (change) for the form data.
Question #1
Should I be naming my form variables [user]
45 matches
Mail list logo