forked from friendica/friendica-addons
Merge pull request #1028 from annando/twitter-disconnect
Twitter: Offer the disconnect button when the account data is invalid
This commit is contained in:
commit
b062142800
|
@ -348,7 +348,8 @@ function twitter_settings(App $a, &$s)
|
||||||
} else {
|
} else {
|
||||||
$s .= '<div id="twitter-info" >
|
$s .= '<div id="twitter-info" >
|
||||||
<p>Invalid Twitter info</p>
|
<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]);
|
Logger::info('Invalid twitter info (verify credentials).', ['auth' => TwitterOAuth::class]);
|
||||||
}
|
}
|
||||||
$s .= '<div class="clear"></div>';
|
$s .= '<div class="clear"></div>';
|
||||||
|
|
Loading…
Reference in a new issue