1. 明点软件
  2. Untitled project
  3. Grails Spring Security Taobao

Commits

明点软件  committed 48e1aa0

修复bug

  • Participants
  • Parent commits fc758cb
  • Branches default

Comments (0)

Files changed (1)

File src/java/com/mingidea/security/taobao/TaobaoAuthenticationProvider.java

View file
  • Ignore whitespace
         taobaoUser.setR1ExpiresIn(credentials.getR1ExpiresIn());
         taobaoUser.setR2ExpiresIn(credentials.getR2ExpiresIn());
         taobaoUser.setW1ExpiresIn(credentials.getW1ExpiresIn());
-        taobaoUser.setW2ExpiresIn(credentials.getR2ExpiresIn());
+        taobaoUser.setW2ExpiresIn(credentials.getW2ExpiresIn());
         taobaoUser.setRefreshToken(credentials.getRefreshToken());
         taobaoUser.setReExpiresIn(credentials.getReExpiresIn());
     }