mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add login session id warning
This commit is contained in:
parent
81946c5092
commit
caeb734b2c
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ func loginCredentials(user, password string) error {
|
|||
|
||||
func loginSessionID(sessionID string) error {
|
||||
utils.Log.Debug("Logging in via session id")
|
||||
utils.Log.Warn("Logging in with session id is deprecated and not very reliable. Consider choosing another option (if it fails)")
|
||||
var c *crunchyroll.Crunchyroll
|
||||
var err error
|
||||
if c, err = crunchyroll.LoginWithSessionID(sessionID, utils.SystemLocale(false), utils.Client); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue