Skip Menu |

This queue is for tickets about the Catalyst-Model-MongoDB CPAN distribution.

Report information
The Basics
Id: 74268
Status: resolved
Priority: 0/
Queue: Catalyst-Model-MongoDB

People
Owner: SAUBER [...] cpan.org
Requestors: kellermg [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Patch to add authenticate() function
Date: Mon, 23 Jan 2012 12:56:08 -0500
To: bug-Catalyst-Model-MongoDB [...] rt.cpan.org
From: Matthew Keller <kellermg [...] gmail.com>
Hi, I added the below to Catalyst/Model/MongoDB.pm to pass through the MongoDB::Connection::authenticate function. Without this, there is no way to [re]authenticate after the initial connection, or it authenticate to multiple databases within the same model. Thank SO MUCH for this awesome module, however, as it makes my Catalyst-coding-with-mongoDB life so much easier! sub authenticate { my( $self, @params ) = @_; return $self->connection->authenticate(@params); }
Code committed on github