Skip to content

Commit

Permalink
Improve steam-link error message
Browse files Browse the repository at this point in the history
  • Loading branch information
micheljung authored Sep 15, 2018
1 parent 1bf077e commit 7e6d2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lobbyconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ async def check_user_login(self, cursor, login, password):
if config.FORCE_STEAM_LINK and not steamid and create_time.timestamp() > config.FORCE_STEAM_LINK_AFTER_DATE:
self._logger.debug('Rejected login from new user: %s, %s, %s', player_id, login, self.session)
raise ClientError(
"You must link your account to steam in order to play Forged Alliance Forever. You can do so on {website_url} .".format(website_url=config.WWW_URL),
"Unfortunately, you must currently link your account to Steam in order to play Forged Alliance Forever. You can do so on <a href='{steamlink_url}'>{steamlink_url}</a>.".format(steamlink_url=config.WWW_URL + '/account/link'),
recoverable=False)

self._logger.debug("Login from: %s, %s, %s", player_id, login, self.session)
Expand Down

0 comments on commit 7e6d2ab

Please sign in to comment.