[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:
parent
69fa182342
commit
9c3d680214
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue