Skip to content

Commit

Permalink
Remove the entity
Browse files Browse the repository at this point in the history
  • Loading branch information
erwan committed Sep 3, 2010
1 parent 94497be commit edb8455
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package models.oauthclient;
package models;

import play.*;
import play.db.jpa.*;
Expand Down
1 change: 0 additions & 1 deletion example/twitter/app/models/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import javax.persistence.*;

import models.oauthclient.Credentials;


@Entity
Expand Down
2 changes: 1 addition & 1 deletion oauthclient/app/play/modules/oauthclient/OAuthClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void retrieveAccessToken(ICredentials user, String verifier) throws Excep
Logger.info("Verifier: " + verifier);
getProvider().retrieveAccessToken(getConsumer(user), verifier);
user.setToken(consumer.getToken());
user.setToken(consumer.getTokenSecret());
user.setSecret(consumer.getTokenSecret());
}

// Signing requests
Expand Down

0 comments on commit edb8455

Please sign in to comment.