バグ #581 » auth.patch
core/lib/mikutwitter/authentication_failed_action.rb | ||
---|---|---|
44 | 44 |
result = MikuTwitter::AuthenticationFailedAction.get.call(self, method, url, options, res) |
45 | 45 |
if(result and 2 == result.size) |
46 | 46 |
self.a_token, self.a_secret = *result |
47 |
UserConfig[:twitter_token] = self.a_token |
|
48 |
UserConfig[:twitter_secret] = self.a_secret |
|
47 | 49 |
return *result end |
48 | 50 |
else |
49 | 51 |
return self.a_token, self.a_secret end } end |