Open source cms for mobile and desktop websites

nive_userdb.userview

class nive_userdb.userview.view.UserForm(view=None, loadFromType=None, context=None, request=None, app=None, **kw)

Extended User form

AddUser(action, **kw)

Form action: safely add a user

LoadUser(action, **kw)

Initially load data from obj. context = obj

Update(action, **kw)

Form action: safely update a user

Login(action, **kw)

Form action: user login

Activate(action, **kw)

Form action: activate the mail in tempcache if token matches

UpdatePass(action, **kw)

Form action: update password if current password matches

UpdateMail(action, **kw)

Form action: trigger a mail to verify another mail address

UpdateMailToken(action, **kw)

Form action: activate the mail in tempcache if token matches

ResetPass(action, **kw)

Form action: generate a new password and mail to the user

Contact(action, **kw)

Sends a email to the user ‘receiver’

Parameters:
  • action
  • kw – mail, receiver
Returns:

© 2013 Nive GmbH