mirror of
https://github.com/friendica/friendica
synced 2025-04-20 18:30:10 +00:00
Issue 14303: Fixes %3f problem with OAuth login
This commit is contained in:
parent
26f8392754
commit
efee399397
3 changed files with 9 additions and 5 deletions
|
@ -60,7 +60,11 @@ class Login extends BaseModule
|
|||
|
||||
protected function content(array $request = []): string
|
||||
{
|
||||
$return_path = $request['return_path'] ?? $this->session->pop('return_path', '') ;
|
||||
if (!empty($request['return_authorize'])) {
|
||||
$return_path = 'oauth/authorize?' . $request['return_authorize'];
|
||||
} else {
|
||||
$return_path = $request['return_path'] ?? $this->session->pop('return_path', '') ;
|
||||
}
|
||||
|
||||
if ($this->session->getLocalUserId()) {
|
||||
$this->baseUrl->redirect($return_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue