mirror of https://gitlab.com/bashrc2/epicyon
Verification of website and blog
parent
7c22ebd582
commit
6053947896
|
@ -6310,6 +6310,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if fields['blogAddress'] != current_blog_address:
|
if fields['blogAddress'] != current_blog_address:
|
||||||
set_blog_address(actor_json,
|
set_blog_address(actor_json,
|
||||||
fields['blogAddress'])
|
fields['blogAddress'])
|
||||||
|
actor_changed = True
|
||||||
site_is_verified(curr_session,
|
site_is_verified(curr_session,
|
||||||
self.server.base_dir,
|
self.server.base_dir,
|
||||||
self.server.http_prefix,
|
self.server.http_prefix,
|
||||||
|
@ -6317,7 +6318,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fields['blogAddress'],
|
fields['blogAddress'],
|
||||||
True,
|
True,
|
||||||
self.server.debug)
|
self.server.debug)
|
||||||
actor_changed = True
|
|
||||||
else:
|
else:
|
||||||
if current_blog_address:
|
if current_blog_address:
|
||||||
set_blog_address(actor_json, '')
|
set_blog_address(actor_json, '')
|
||||||
|
@ -6487,6 +6487,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
set_website(actor_json,
|
set_website(actor_json,
|
||||||
fields['websiteUrl'],
|
fields['websiteUrl'],
|
||||||
self.server.translate)
|
self.server.translate)
|
||||||
|
actor_changed = True
|
||||||
site_is_verified(curr_session,
|
site_is_verified(curr_session,
|
||||||
self.server.base_dir,
|
self.server.base_dir,
|
||||||
self.server.http_prefix,
|
self.server.http_prefix,
|
||||||
|
@ -6494,7 +6495,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fields['websiteUrl'],
|
fields['websiteUrl'],
|
||||||
True,
|
True,
|
||||||
self.server.debug)
|
self.server.debug)
|
||||||
actor_changed = True
|
|
||||||
else:
|
else:
|
||||||
if current_website:
|
if current_website:
|
||||||
set_website(actor_json, '', self.server.translate)
|
set_website(actor_json, '', self.server.translate)
|
||||||
|
|
Loading…
Reference in New Issue