Skip to content

Commit c87585b

Browse files
committed
revert
1 parent d1e1d19 commit c87585b

File tree

1 file changed

+1
-2
lines changed
  • src/azure-cli-core/azure/cli/core/auth

1 file changed

+1
-2
lines changed

src/azure-cli-core/azure/cli/core/auth/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ def aad_error_handler(error, **kwargs):
4545
recommendation = PASSWORD_CERTIFICATE_WARNING
4646
else:
4747
login_command = _generate_login_command(**kwargs)
48-
recommendation = ("Interactive authentication is needed. "
49-
f"Run the command below; additional arguments may be added as needed:\n{login_command}")
48+
recommendation = "Interactive authentication is needed. Please run:\n{}".format(login_command)
5049

5150
from azure.cli.core.azclierror import AuthenticationError
5251
raise AuthenticationError(error_description, msal_error=error, recommendation=recommendation)

0 commit comments

Comments
 (0)