Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

C:P:Authentication upgrade

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


chris at vistaeng

Aug 26, 2009, 10:00 AM

Post #1 of 3 (915 views)
Permalink
C:P:Authentication upgrade

Hello all,

Is anyone having trouble with clear passwords since this morning's update of
C:P:Authentication to ver 0.10014?

I have two instances that have stopped working. Changing to none works ok.

Where have I gone wrong?

Thanks,
Chris

use Catalyst qw/
Authentication
Authentication::Credential::Password
Authorization::Roles
Authorization::ACL
/;

__PACKAGE__->config( 'Plugin::Authentication' =>
{
default_realm => 'members',
members => {
credential => {
class => 'Password',
password_field => 'password',
password_type => 'clear'
},
store => {
class => 'DBIx::Class',
user_class => 'JDDB::tblUser',
id_field => 'id',
role_column => 'roles',

}
}
});





_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


bobtfish at bobtfish

Aug 26, 2009, 10:50 AM

Post #2 of 3 (806 views)
Permalink
Re: C:P:Authentication upgrade [In reply to]

Chris Devine wrote:
> Hello all,
>
> Is anyone having trouble with clear passwords since this morning's update of
> C:P:Authentication to ver 0.10014?

From what version? (and can you try any in-between versions, to find
the specific version change which is causing issues for you?

> I have two instances that have stopped working.

Two instances of what?

> Changing to none works ok.

Changing what to 'none'?

Also, what DB queries get emitted when authenticating a user, both in
the working and non-working cases? (DBIC_TRACE=1).

Can we also get a config dump as seen in the debug screen (i.e. the
loaded config Catalyst actually sees, rather than the contents of your
config file).

> Where have I gone wrong?

Not providing enough information for me to be able to be helpful - but
we'll forgive that ;_)

Cheers
t0m


_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


chris at vistaeng

Aug 26, 2009, 12:50 PM

Post #3 of 3 (821 views)
Permalink
RE: C:P:Authentication upgrade [In reply to]

-----Original Message-----
From: Tomas Doran [mailto:bobtfish [at] bobtfish]
Sent: Wednesday, August 26, 2009 12:51
To: The elegant MVC web framework
Subject: Re: [Catalyst] C:P:Authentication upgrade

Chris Devine wrote:
> Hello all,
>
> Is anyone having trouble with clear passwords since this morning's
> update of C:P:Authentication to ver 0.10014?

From what version? (and can you try any in-between versions, to find the
specific version change which is causing issues for you?

> I have two instances that have stopped working.

Two instances of what?

> Changing to none works ok.

Changing what to 'none'?

Also, what DB queries get emitted when authenticating a user, both in the
working and non-working cases? (DBIC_TRACE=1).

Can we also get a config dump as seen in the debug screen (i.e. the loaded
config Catalyst actually sees, rather than the contents of your config
file).

> Where have I gone wrong?

Not providing enough information for me to be able to be helpful - but we'll
forgive that ;_)

Cheers
t0m

Thanks for the help. Never mind. I had allowed a dupe username to exist by
dropping an index for testing. I never replaced it. I fixed the dupes,
replaced the unique index, and all is good.

Thanks,
Chris

_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/

__________ NOD32 4369 (20090826) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com




_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.