John wrote: > I have been playing with dSecurityManager. And I have it sort of working but > I wonder if there is a way to NOT display the form behind the login dialog.
I guess there wasn't a good way, so update to r5476 and then: cd dabo/dabo python dSecurityManager.py There's some new test code there that should do what you want. Here's the test code: """ 194 if __name__ == "__main__": 195 app = dabo.dApp(MainFormClass=None) 196 app.setup() 197 198 class TestSM(dSecurityManager): 199 def validateLogin(self, user, passwd): 200 print user, passwd 201 if user == "paul" and passwd == "23": 202 return True 203 return False 204 205 app.SecurityManager = TestSM() 206 if app.SecurityManager.login(): 207 app.MainForm = dabo.ui.dFormMain() 208 app.start() """ Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
