[Lift] Re: Custom Login

2009-08-07 Thread turp1twin
Thanks David! This makes sense to me. Thanks much for the support and keep up the great work! Jeff On Aug 6, 8:48 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I think you could remove the User class/object pair from the app and replace them with: object LoginState {   object

[Lift] Re: Custom Login

2009-08-06 Thread David Pollak
I think you could remove the User class/object pair from the app and replace them with: object LoginState { object primaryKey extends SessionVar[Box[Long]](Empty) // the primary key of the currently logged in user... change to Box[String] if the PK is a String object currentUser extends

[Lift] Re: Custom login

2009-07-28 Thread David Pollak
On Mon, Jul 27, 2009 at 3:12 AM, MrWHO fabb...@gmail.com wrote: Hi all! Again a probably silly question, but I haven't been able to find a clue anywhere. I'd like to use my own login page for an application. I can get as far as creating my own form - and posting to /user_mgt/login and

[Lift] Re: Custom login

2009-07-28 Thread Naftoli Gugenheim
I think you have to override loginXhtml and/or screenWrap. - David Pollakfeeder.of.the.be...@gmail.com wrote: On Mon, Jul 27, 2009 at 3:12 AM, MrWHO fabb...@gmail.com wrote: Hi all! Again a probably silly question, but I haven't been able to find a