##// END OF EJS Templates
event: Fire event when user sucessfully registered.
event: Fire event when user sucessfully registered.

File last commit:

r42:d009f1dc default
r43:252626f3 default
Show More
events.py
14 lines | 366 B | text/x-python | PythonLexer
from zope.interface import implementer
from rhodecode.interfaces import IUserRegistered
@implementer(IUserRegistered)
class UserRegistered(object):
"""
An instance of this class is emitted as an :term:`event` whenever a user
account is registered.
"""
def __init__(self, user, session):
self.user = user
self.session = session