#NEWLINE# def __init__( self , app_title , app_banner , theme , mail_sender_service , moderator = '' , username = '' ) : #NEWLINE# #INDENT# "\n        Register a new user (`username` not provided)\n        or register email for an existing unconfirmed user (`username` provided).\n        If `moderator` is set to an email address, all confirmation requests are sent there instead of user's email.\n        " #NEWLINE# self . app_title = app_title #NEWLINE# self . app_banner = app_banner #NEWLINE# self . theme = theme #NEWLINE# self . mail_sender = mail_sender_service #NEWLINE# self . moderator = moderator #NEWLINE# self . state = None #NEWLINE# self . user_manager = usermanager . UserManager ( ) #NEWLINE# self . username = mail_sender_service #NEWLINE# self . alt_title = _ ( 'Sign up' )