feat: retry with credential-based login when the ARL is invalid

This commit is contained in:
Mathis Maquenne
2026-07-29 11:33:50 +02:00
parent 56b0f404d6
commit f45ae6aee6
2 changed files with 34 additions and 2 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func Authenticate(ctx context.Context, arlCookie string) (*Session, error) {
}
if res.Results.User.ID == 0 {
return nil, fmt.Errorf("invalid arl cookie")
return nil, fmt.Errorf("invalid or expired arl cookie")
}
opts := res.Results.User.Options