This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
redirect to home after logging in using login url
pull/1/head
Friendika
9 years ago
parent
04b59ac49a
commit
0db145dafa
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
mod/login.php
+ 2
- 0
mod/login.php
View File
@ -3,6 +3,8 @@
function
login_content
(
&
$a
)
{
if
(
x
(
$_SESSION
,
'theme'
))
unset
(
$_SESSION
[
'theme'
]);
if
(
local_user
())
goaway
(
z_root
());
return
login
((
$a
->
config
[
'register_policy'
]
==
REGISTER_CLOSED
)
?
false
:
true
);
}
Write
Preview
Loading…
Cancel
Save