ccovey / ldap-auth

ldap-auth
69 stars 43 forks source link

[FEATURE] Save retrieved LDAP data in model #13

Closed gmsantos closed 11 years ago

gmsantos commented 11 years ago

In my current project I must keep a record of the Users who has accessed the system.

In that case I found useful to save the retrieved User in the moment the Model has populated.

To enable this feature you just need to add to config/auth.php the following line:

'save_model' => true,
gmsantos commented 11 years ago

I thinks it okay now you intend to merge this feature @ccovey

ccovey commented 11 years ago

outside of scope of authentication...this belongs in a filter or somewhere similar.

gmsantos commented 11 years ago

Ok @ccovey. I'm new with Laravel. I will dig a little more and try to implement it like you suggested. Thanks.