Browse Source

oauth: fix add new app

pull/2/head
Fabio Comuni 10 years ago
parent
commit
0becdb01db
  1. 2
      mod/settings.php

2
mod/settings.php

@ -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…
Cancel
Save