Allow users to keep colons between each hex pair of server certificate fingerprint in configuration file.
Signed-off-by: velleto <rr@velleto.com>
This commit is contained in:
parent
db4a5e149f
commit
093a66625c
|
@ -293,7 +293,7 @@ class IMAPRepository(BaseRepository):
|
|||
comma-separated fingerprints in hex form."""
|
||||
|
||||
value = self.getconf('cert_fingerprint', "")
|
||||
return [f.strip().lower() for f in value.split(',') if f]
|
||||
return [f.strip().lower().replace(":", "") for f in value.split(',') if f]
|
||||
|
||||
def setoauth2_request_url(self, url):
|
||||
self.oauth2_request_url = url
|
||||
|
|
Loading…
Reference in New Issue