Session variable needs to be removed afterwards
This commit is contained in:
parent
6ca42512e9
commit
a23d108fa7
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ class Authorize extends BaseApi
|
|||
DI::app()->redirect('oauth/acknowledge?return_path=' . $redirect);
|
||||
}
|
||||
|
||||
DI::session()->remove('oauth_acknowledge');
|
||||
|
||||
$token = self::createTokenForUser($application, $uid);
|
||||
if (!$token) {
|
||||
DI::mstdnError()->RecordNotFound();
|
||||
|
|
Loading…
Reference in a new issue