Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change message #500

Merged
merged 3 commits into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,4 @@ Please add a _short_ line describing the PR you make, if the PR implements a spe
## Sprint (2022-06-15 - 2022-06-29)

- Display message of the day at top before output ([#498](https://github.com/ScilifelabDataCentre/dds_cli/pull/498))
- Change token check message for Windows to more user friendly ([#500](https://github.com/ScilifelabDataCentre/dds_cli/pull/500))
4 changes: 3 additions & 1 deletion dds_cli/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ def check_token_file_permissions(self):
message=f"Token file permissions are not properly set, (got {permissions_readable} instead of required '-rw-------'). Please remove {self.token_file} and rerun the command."
)
else:
LOG.info("Unable to confirm whether file permissions are correct on Windows.")
LOG.info(
f"Storing the login information locally - please ensure no one else an access the file at {self.token_file}."
)

def token_expired(self, token):
"""Check if the token has expired or is about to expire soon based on the UTC time.
Expand Down