Skip to content

Commit 4420231

Browse files
committed
Fix afterRequest call
1 parent aa22d4f commit 4420231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WebApp/Service.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ public function run() {
3232
Session\Utils::isFreshLogin();
3333
} else if ($action == 'redirect') {
3434
// redirect
35-
$this->app->afterRequest();
3635
header('Location: '.$rc[1]);
36+
$this->app->afterRequest($this->page);
37+
return;
3738
}
3839
} catch (\Throwable $e) {
3940
\TgLog\Log::error('Cannot create application', $e);

0 commit comments

Comments
 (0)