user sessions

matuszemi

Joined: 2010-02-21
Posts: 2
Posted: Sun, 2010-02-21 16:30

Hi there,
Thanks to all contributors for all good work you have done on gallery 3!
I've got the question about user sessions in gallery3.
I've got existing application with some users created already and would like to integrate gallery3 into this app.
When user logs in into the application I would like to log in the user automatically into gallery3.
If user doesn't exist in gallery3 database I would like to use credentials from my application and create an account for him in gallery3 and log him in afterwards.
Is there some way to accomplish this?

Thanks for any help!

Matus

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-02-21 18:14
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-02-21 21:57

Oh just found this as well for WP. Never tested:
http://github.com/mp2300/gallery3-contrib/commit/5296c55724b9789770c92ca2b012c0a31bb3c8d8

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
matuszemi

Joined: 2010-02-21
Posts: 2
Posted: Sun, 2010-02-21 22:57

Thanks Dave.. I'll have a look at it for some ideas.