Tank auth with roles |
[eluser]Unknown[/eluser]
Hi, I liked the tank auth authentication library by Ilya Konyukhov I have added a simple role management feature to it. You can download the latest version from https://bitbucket.org/mtsandeep/tank-aut...s/overview Changes This is how it works. Roles can be added to the roles table. 2 roles added by default. First user to register will be given the "admin" role and all subsequent users will get the role set as "default". Usage is in the bitbucket repo. Quote:Role name is saved to the session of logged in user. If you have any suggestions, i would like to improve this authentication library.
[eluser]Beertastic[/eluser]
I had set aside this morning to develop just this.. Tank_auth is great.. this completes it.. Adding it to my standard install package right away!!
[eluser]BoyFromHell[/eluser]
Thanks is very good. A small error but when I want to do autologin. The error is: Code: A PHP Error was encountered Now I do not know how to solve. |
Welcome Guest, Not a member yet? Register Sign In |