G-Node / G-Node/gin-cli

Re-enable requirelogin() or similar function where necessary

Open
#251 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

In PR #250 the `requirelogin()` function was essentially disabled (it only attempts to load the token without doing any checks). It's purpose was to prompt for login if a token is unavailable and load the token. It has been disabled since login is no longer required for most of the functions it was used for. For example, adding a remote doesn't require login if it's not a GIN server.

We need to rethink the login requirements and enable it only when necessary.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.