Skip to content

Commit

Permalink
Auto-redirect after revoking tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Dec 3, 2015
1 parent 7eaf8d2 commit 19b5584
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api_token_revoke.php
Expand Up @@ -43,12 +43,13 @@

api_token_revoke( $f_token_id, $t_user_id );

html_page_top();
html_page_top1();
html_meta_redirect( 'api_tokens_page.php' );
html_page_top2();

echo '<div align="center">';
echo '<br /><br />' . sprintf( lang_get( 'api_token_revoked' ), string_display_line( $f_token_name ) ) . '<br /><br />';
print_bracket_link( 'api_tokens_page.php', lang_get( 'api_tokens_link' ) );
echo '<br />';
echo '</div>';

html_page_bottom();
Expand Down

0 comments on commit 19b5584

Please sign in to comment.