[eluser]tim1965[/eluser]
Hi
The other problem i have been struggling with today is getting the remember me function to work in dx_auth.
This is the problem.
When you set remember me on the login form, the default complex controller supplied with dx does two things, it drops a cookie locally, and then writes an entry to table user_autologin.
However when you logout the default controller in DX_Auth calls function logout which then call function _delete_autologin which deletes both the cookie and table entry. So my understanding is that the default controller was a bare bones working example which could then be extended depending on need.
So first question is, is my understanding correct i.e. is the controller supposed to delete the above.
If stop the function from deleting the cookie and table entry then i can auto login, but get bounced to an already logged in screen..
I apologise if i am being stupid here but i have always assumed the complex controlled was a good working example albeit without permissions or roles defined, but it looks like there are errors in it.
So my second question is what have other people done. Thanks in advance.