saltstack/salt — pull request #4188 by whiteinge (2013-03-21 16:03:42+00:00)
Title: Don't prompt user for auth credentials if token is already loaded

@thatch45, how/when does the CLI delete or regenerate the ~/.salt_token file once the token expires? This fix will output an auth error when the token goes bad and the user will have to delete the file manually.