diff options
Diffstat (limited to 'remoting/protocol/auth_util.cc')
-rw-r--r-- | remoting/protocol/auth_util.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/remoting/protocol/auth_util.cc b/remoting/protocol/auth_util.cc index 4559636..17263bf 100644 --- a/remoting/protocol/auth_util.cc +++ b/remoting/protocol/auth_util.cc @@ -26,9 +26,7 @@ std::string GenerateSupportAuthToken(const std::string& jid, const std::string& access_code) { std::string sha256 = crypto::SHA256HashString(jid + " " + access_code); std::string sha256_base64; - if (!base::Base64Encode(sha256, &sha256_base64)) { - LOG(FATAL) << "Failed to encode auth token"; - } + base::Base64Encode(sha256, &sha256_base64); return sha256_base64; } |