Example #1
0
def activate(token):
    if settings.require_activation:
        return user_controller.activate_account(token)
    else:
        abort(404)
Example #2
0
def activate(token):
    return user_controller.activate_account(token)