mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Delete the cache entry allowing direct login again
This commit is contained in:
parent
23bad85847
commit
58fb0beaa3
2 changed files with 3 additions and 3 deletions
|
@ -1074,9 +1074,7 @@ class Profile
|
|||
|
||||
// We need to extract the basebath from the profile url
|
||||
// to redirect the visitors '/magic' module.
|
||||
// Note: We should have the basepath of a contact also in the contact table.
|
||||
$urlarr = explode('/profile/', $contact['url']);
|
||||
$basepath = $urlarr[0];
|
||||
$basepath = Contact::getBasepath($contact['url']);
|
||||
|
||||
if ($basepath != $a->getBaseURL() && !strstr($dest, '/magic') && !strstr($dest, '/rmagic')) {
|
||||
$magic_path = $basepath . '/magic' . '?f=&owa=1&dest=' . $dest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue