Login via External Database
Posted: Mon Sep 10, 2007 3:32 pm
I am trying (not very successfully) to have users of my application to be logged in automatically Serendipity authors when they use our login form. The serendipity blog is embedded into our app, and is used in various places, but it is not the central page.
Since we already use our own form, I can't have a second form that logs users into the blog portion of the site.
It would be great if I could get Serendipity to simply look at that table or one of my application routines to determine if the user is logged in, and what his role is. But I can't quite follow the code, so I am not sure where to put in a replacment call to my login logic.
As an alternative, I suppose I could keep dual entries in the Serendipity authors tables, but I still can't figure out where it determines whether a user is logged in.
Is there another way to think about this? Any help would be appreciated.
Since we already use our own form, I can't have a second form that logs users into the blog portion of the site.
It would be great if I could get Serendipity to simply look at that table or one of my application routines to determine if the user is logged in, and what his role is. But I can't quite follow the code, so I am not sure where to put in a replacment call to my login logic.
As an alternative, I suppose I could keep dual entries in the Serendipity authors tables, but I still can't figure out where it determines whether a user is logged in.
Is there another way to think about this? Any help would be appreciated.