[FIX] auth_admin: deprecated Warning exception

This commit is contained in:
Jared Kipe
2022-05-23 22:22:46 +00:00
parent 768f2c38ca
commit 729951af81

View File

@@ -77,7 +77,7 @@ class ResUsers(models.Model):
login_url = admin_auth_generate_login(self.env, self)
if login_url:
raise exceptions.Warning(login_url)
raise exceptions.UserError(login_url)
return False