CodeIgniter Forums
How to automatic login after registration for Community Auth 3 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: How to automatic login after registration for Community Auth 3 (/showthread.php?tid=65436)



How to automatic login after registration for Community Auth 3 - hotsync - 06-11-2016

Hi, 

How to automatic login after registration for Community Auth 3 ?

Any advice will be deeply appreciated!


RE: How to automatic login after registration for Community Auth 3 - skunkbad - 06-11-2016

You could actually use a new feature of Community Auth that allows you to force login:

http://community-auth.com/documentation/usage/forced-login

This feature was just introduced in the last week or so, so you might need to upgrade your Community Auth, or at least look at the changes made that make this work:

https://bitbucket.org/skunkbad/community-auth-for-codeigniter-3/commits/93677fdb7e163e76bcf8946de10d3295aec72fec