mitchellvanw / laravel-doctrine

NO LONGER MAINTAINED! A Doctrine 2 implementation that melts with Laravel
MIT License
187 stars 74 forks source link

Authentication problem #62

Closed emaldonadov closed 9 years ago

emaldonadov commented 10 years ago

Gentlemen:

I'm getting de following error when I'm trying to authenticate a user (when calling Auth::attempt() in Controller):

Doctrine\Common\Persistence\Mapping\MappingException Class 'User' does not exist

I did everything you explain in the documentation, but I'm stuck with this error.

Can you help me, please?

Thanks in advance,

Ernesto ctrllogin user

memtoko commented 10 years ago

change the model in the auth.php config to Modelos\Seguridad\User

emaldonadov commented 10 years ago

Thank you very much memtoko! I applied your suggestion but now I'm getting this error.

Any advice?

Thanks in advance,

Ernesto error

memtoko commented 10 years ago

maybe you forgot to add route for POST action?

mitchellvanw commented 9 years ago

@emaldonadov that indeed looks like a route problem. You forgot to define it.

Thanks @memtoko. Closing.