~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/apps/userservice/__init__.py

  • Committer: me at id
  • Date: 2009-01-15 03:21:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1152
userservice/create_user: Use storm rather than ivle.db.get_user.

Show diffs side-by-side

added added

removed removed

Lines of Context:
326
326
            pass
327
327
 
328
328
    ivle.makeuser.make_user_db(**create)
329
 
    user = ivle.db.DB().get_user(create["login"])
 
329
    unixid = ivle.database.User.get_by_login(req.store,create['login']).unixid
 
330
 
330
331
    req.content_type = "text/plain"
331
 
    req.write(str(user.unixid))
 
332
    req.write(str(unixid))
332
333
 
333
334
update_user_fields_anyone = [
334
335
    'password', 'nick', 'email'