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 '';