dddp/accounts/ddp.py
def auth_failed(**credentials):
        """Consistent fail so we don't provide attackers with valuable info."""
        if credentials:
            user_login_failed.send_robust(
                sender=__name__,
                credentials=auth._clean_credentials(credentials),
            )
        raise MeteorError(403, 'Authentication failed.')
def auth_failed(**credentials):
        if credentials:
            user_login_failed.send_robust(
                sender=__name__,
                credentials=auth._clean_credentials(credentials),
            )
        raise MeteorError(403, 'Authentication failed.')
def auth_failed ( * * credentials ) : if credentials : user_login_failed . send_robust ( sender = __name__ , credentials = auth . _clean_credentials ( credentials ) , ) raise MeteorError ( 403 , 'Authentication failed.' )
Consistent fail so we don't provide attackers with valuable info.
Consistent fail so we don t provide attackers with valuable info .