From efe77a20b5f495c98255d4469dca61334e66d7df Mon Sep 17 00:00:00 2001 From: Faustin Date: Tue, 27 Sep 2022 11:22:18 +0200 Subject: [PATCH] Scope line was on the wrong place --- htdocs/admin/oauthlogintokens.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/admin/oauthlogintokens.php b/htdocs/admin/oauthlogintokens.php index 98b247e81eb..f798995d525 100644 --- a/htdocs/admin/oauthlogintokens.php +++ b/htdocs/admin/oauthlogintokens.php @@ -291,6 +291,14 @@ if ($mode == 'setup' && $user->admin) { print ''; print ''."\n"; + // Scopes + print ''; + print ''.$langs->trans("Scopes").''; + print ''; + $currentscopes = getDolGlobalString($key[4]); + print $currentscopes; + print ''; + print ''; print ''; //var_dump($key); @@ -377,13 +385,6 @@ if ($mode == 'setup' && $user->admin) { print ''; } - // Scopes - print ''; - print ''.$langs->trans("Scopes").''; - print ''; - $currentscopes = getDolGlobalString($key[4]); - print $currentscopes; - print ''; print ''; print '';