[FIX] auth_oauth: correct the constraint. How the heck did runbot still green?

bzr revid: chs@openerp.com-20121011114058-svvb5fbz8dye12jk
This commit is contained in:
Christophe Simonis 2012-10-11 13:40:58 +02:00
parent 69fa182342
commit 9c3d680214
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class res_users(osv.Model):
}
_sql_constraints = [
('uniq_users_oauth_provider_oauht_uid', 'unique(auth_provider_id, auth_uid)', 'OAuth UID must be unique per provider'),
('uniq_users_oauth_provider_oauth_uid', 'unique(oauth_provider_id, oauth_uid)', 'OAuth UID must be unique per provider'),
]
def auth_oauth_rpc(self, cr, uid, endpoint, access_token, context=None):