Session variable needs to be removed afterwards
This commit is contained in:
parent
6ca42512e9
commit
a23d108fa7
|
@ -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 New Issue
Block a user