spree/spree — pull request #1522 by doktorj (2012-05-09 07:41:55+00:00)
Title: Fix issue #1521 with api key not showing in user edit view after generation.

Updated @user.authentication_token.present? check, and print out to use @user.api_key instead in the api_fields partial.

Not sure why @user_authentication_token was being used instead.

My first spree commit!

[Fixes #1521]