forked from indymedia/epicyon
Redirect to inbox if authorized
parent
25532fb73c
commit
b1a9a47cdf
|
@ -653,6 +653,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.GETbusy=False
|
self.server.GETbusy=False
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if htmlGET and authorized and self.path=='/':
|
||||||
|
self.server.GETbusy=False
|
||||||
|
self._redirect_headers(actor+'/inbox',cookie)
|
||||||
|
return
|
||||||
|
|
||||||
# if not authorized then show the login screen
|
# if not authorized then show the login screen
|
||||||
if htmlGET and self.path!='/login' and self.path!='/':
|
if htmlGET and self.path!='/login' and self.path!='/':
|
||||||
if '/media/' not in self.path and \
|
if '/media/' not in self.path and \
|
||||||
|
|
Loading…
Reference in New Issue