app/routines/openstax/accounts/dev/create_account.rb in openstax_accounts-3.1.1 vs app/routines/openstax/accounts/dev/create_account.rb in openstax_accounts-4.0.0

- old
+ new

@@ -18,10 +18,10 @@ username = SecureRandom.hex(3).to_s end account = OpenStax::Accounts::Account.new - account.openstax_uid = -SecureRandom.hex.to_i(16) + account.openstax_uid = -SecureRandom.hex(4).to_i(16)/2 account.access_token = SecureRandom.hex.to_s account.username = username account.save