opro/opro — pull request #10 by carols10cents (2012-08-18 18:48:50+00:00)
Title: Check the existing code field instead of refresh_token when generating a...

... unique code

This looks like a copy-paste error

code was getting set to unique_token_for(:refresh_token) instead of what I think was intended, unique_token_for(:code). Probably just a copy-paste error.