mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
oauth: fix add new app
This commit is contained in:
parent
d7d889bcd0
commit
0becdb01db
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function settings_post(&$a) {
|
|||
return;
|
||||
}
|
||||
|
||||
if(($a->argc > 2) && ($a->argv[1] === 'oauth') && ($a->argv[2] === 'edit') && x($_POST,'submit')) {
|
||||
if(($a->argc > 2) && ($a->argv[1] === 'oauth') && ($a->argv[2] === 'edit'||($a->argv[2] === 'add')) && x($_POST,'submit')) {
|
||||
|
||||
$name = ((x($_POST,'name')) ? $_POST['name'] : '');
|
||||
$key = ((x($_POST,'key')) ? $_POST['key'] : '');
|
||||
|
|
Loading…
Reference in a new issue