mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00:00
Some corrections
This commit is contained in:
parent
8b775d48f9
commit
3bb5a416f8
3 changed files with 3 additions and 2 deletions
|
@ -149,7 +149,7 @@ function settings_post(App $a)
|
|||
check_form_security_token_redirectOnErr('/settings/oauth', 'settings_oauth');
|
||||
|
||||
$key = $_POST['remove'];
|
||||
dba::delete('tokens', ['id' => $key]);
|
||||
dba::delete('tokens', ['id' => $key, 'uid' => local_user()]);
|
||||
goaway(System::baseUrl(true)."/settings/oauth/");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue