Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with EloquentUserProvider #2

Closed
thylo opened this issue Jun 3, 2013 · 3 comments
Closed

Issue with EloquentUserProvider #2

thylo opened this issue Jun 3, 2013 · 3 comments

Comments

@thylo
Copy link
Contributor

thylo commented Jun 3, 2013

Hi,

I'm experiencing a problem while trying to activate my user account (via f.i http://localhost:8000/user/confirm/ea00ba93d264d2f18d44a1d1d8f4969d ). I get an error when Illuminate/Auth/Guard.php

Tries to :
128 :$user = $this->provider->retrieveByID($id);

It seems like laravel still want to use "­EloquentUserProvider" to do that, wich of course fails as I use confide-mongo.

Any idea how to fix that ?

@Zizaco
Copy link
Owner

Zizaco commented Jun 3, 2013

Are you sure that you've changed the authentication driver in
config/auth.php to "mongoLid"?

Enviado via Galaxy Nexus
Em 03/06/2013 06:56, "Julien Moreau" notifications@github.com escreveu:

Hi,

I'm experiencing a problem while trying to activate my user account (via
f.i http://localhost:8000/user/confirm/ea00ba93d264d2f18d44a1d1d8f4969d). I get an error when
/Users/thylogal/code/openBuilding/vendor/laravel/framework/src/Illuminate/Auth/Guard.php

Tries to :
128 :$user = $this->provider->retrieveByID($id);

It seems like laravel still want to use "­EloquentUserProvider" to do
that, wich of course fails as I use confide-mongo.

Any idea how to fix that ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

@thylo
Copy link
Contributor Author

thylo commented Jun 3, 2013

Nope, the confide-mongo README is pretty vague about the auth file configuration ;-) I should have taken the time to fully read the mongolid documentation.

But it did the trick. Thanks !

@thylo thylo mentioned this issue Jun 3, 2013
@Zizaco
Copy link
Owner

Zizaco commented Jun 3, 2013

Thanks @thylo, that sure will be helpful :)

@Zizaco Zizaco closed this as completed Jun 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants