Hi,

I'm still working on a simple UserKit frontend, and now I stumbled
across the problem, how to save modified users across
AppServer-restarts. I didn't find any functions in UserManager or
UserManagerToFile, which I'm using, that make it possible to force a
saving of, say, changed passwords. 

I did find the UserMixIn in UserManagerToFile, which provides a method
"save", but trying to use it like 

  u = manager.userForExternalId(req.value("extId)
  u.setPassword(req.value('password'))
  u.save()

results in an AttributeError: User instance has no attribute 'save'

Also playing with the modifiedUserTimeout seems to have no effect. I
tried setting it to 1, waited a minute, and then restarted the
AppServer, but the changed password was reverted...

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to