diff options
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_login.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 7bf093951f..a063870600 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -171,6 +171,10 @@ void CSteamProto::OnAuthorizationError(const JSONNode &node) std::string domain = node["emaildomain"].as_string(); + // Make absolute link + if (domain.find("://") == std::string::npos) + domain = "http://" + domain; + CSteamGuardDialog guardDialog(this, domain.c_str()); if (guardDialog.DoModal() != DIALOG_RESULT_OK) { |