Project Tracker Login - Question for Rocky or ?

Project Tracker Login - Question for Rocky or ?

Old forum URL: forums.lhotka.net/forums/t/4960.aspx


JCSoRocks posted on Tuesday, June 10, 2008

I'm using the Project Tracker Login Form as a simple template for an admin app that I'm whipping up for my web based CSLA app. As I was looking at it I noticed that if you're not using Integrated Authentication it calls the DoLogin method which then later calls ApplyAuthorizationRules. Yet, right after the call to DoLogin you call ApplyAuthorizationRules again. So it's effectively being run twice. Is this a mistake or is there some reason you need to run it twice?

Thanks!

RockfordLhotka replied on Thursday, June 12, 2008

Yes, it looks like MainForm_Load() should only call ApplyAuthorizationRules() if the auth type is Windows.

Copyright (c) Marimer LLC