def METHOD_NAME(self):
    login = self.login_input.text().strip()
    password = self.password_input.text().strip()
    missing = []
    if login == "":
        missing.append("login")
        self._invalid_input(self.login_input)
    if password == "":
        missing.append("password")
        self._invalid_input(self.password_input)
    url = self.url_input.currentText()
    if url == "":
        missing.append("url")
        self._invalid_input(self.url_input)
    if len(missing) > 0:
        self.set_error("You didn't enter {}".format(" and ".join(missing)))
        return
    # if credentials.check_credentials(
    #     login=login,
    #     password=password,
    #     shotgrid_url=url,
    # ):
    credentials.save_local_login(
        login=login
    )
    os.environ['OPENPYPE_SG_USER'] = login
    self._on_login()
    self.set_error("CANT LOGIN")