def get_email_confirmation_code(self):
    from app.modules.auth.models import CodeTypes
    return self.get_codes(CodeTypes.email, replace=True)
def get_email_confirmation_code(self):
    from app.modules.auth.models import CodeTypes
    return self.get_codes(CodeTypes.email, replace=True)