[Solar-talk] Authentication Module: Password Changes
Kilbride, James P.
James.Kilbride at gd-ais.com
Thu May 15 14:06:13 CDT 2008
The problem is that the authentication adaptor has the information on
what hash function was used, which column, etc. I can(and do) right now
manually recreate that but since authentication knows which column
should be managed and what function to encrypt it with, and what the
salt is(the salt is probably the most critical really) it felt like it
should be able to do that to maybe. Or at least have a way to return
some of that information easily.
James Kilbride
-----Original Message-----
From: solar-talk-bounces at lists.solarphp.com
[mailto:solar-talk-bounces at lists.solarphp.com] On Behalf Of Rodrigo
Moraes
Sent: Thursday, May 15, 2008 2:56 PM
To: solar-talk at lists.solarphp.com
Subject: Re: [Solar-talk] Authentication Module: Password Changes
On Thu, May 15, 2008 at 1:45 PM, Kilbride, James P. wrote:
> Any reason why the Authentication module doesn't provide a 'change
password'
> function so that you could simply call the authentication class to
> update a password when appropriate? Does anybody else think that would
> be helpful? Or should I simply be looking in a different area for
something like that?
It is out of the scope of the Auth adapters to update authentication
data. This is related to the model where they are stored. For example,
for the sql adapter, you could add a 'update password' method to the
model which table is used by Auth_Adapter_Sql.
-- rodrigo
_______________________________________________
Solar-talk mailing list
Solar-talk at lists.solarphp.com
http://mailman-mail3.webfaction.com/listinfo/solar-talk
More information about the Solar-talk
mailing list