Skip to content

feat: delete API token in /logout API #1770

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

Merged
merged 19 commits into from
May 27, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
try different file mode on windows
  • Loading branch information
AbhineetJain committed May 27, 2022
commit c82c661a192c74f2316c7029a4ada431944438b0
4 changes: 2 additions & 2 deletions cli/logout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ func TestLogout(t *testing.T) {
// Changing the permissions to throw error during deletion.
var err error
if runtime.GOOS == "windows" {
err = os.Chmod(string(config.URL()), 0200)
err = os.Chmod(string(config.URL()), 0000)
require.NoError(t, err)
err = os.Chmod(string(config.Session()), 0200)
err = os.Chmod(string(config.Session()), 0000)
require.NoError(t, err)
} else {
err = os.Chmod(string(config), 0500)
Expand Down