mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-23 01:20:17 +00:00
Twitter: Offer the disconnect button when the account data is invalid
This commit is contained in:
parent
14c09c1bbb
commit
1848cf79fa
1 changed files with 2 additions and 1 deletions
|
@ -348,7 +348,8 @@ function twitter_settings(App $a, &$s)
|
|||
} else {
|
||||
$s .= '<div id="twitter-info" >
|
||||
<p>Invalid Twitter info</p>
|
||||
</div>';
|
||||
<button type="submit" name="twitter-disconnect" value="1">' . DI::l10n()->t('Disconnect') . '</button>
|
||||
</div>';
|
||||
Logger::info('Invalid twitter info (verify credentials).', ['auth' => TwitterOAuth::class]);
|
||||
}
|
||||
$s .= '<div class="clear"></div>';
|
||||
|
|
Loading…
Reference in a new issue