grisu / gricli

Grisu commandline client
7 stars 2 forks source link

login loop during pipe #213

Closed sina-masoud-ansari closed 12 years ago

sina-masoud-ansari commented 12 years ago

Can't reproduce this without destroying proxy so this is a reminder for me:

echo "submit echo hello" | /opt/griclish-dev/griclish-dev -b dev

Login Method keeps repeating...

sina-masoud-ansari commented 12 years ago

Confirmed on prod and dev, if you need to login and provide credentials you will get a loop if you send input to gricli:

/opt/griclish-dev/griclish-dev -b dev close session quit echo "submit echo hello" | /opt/griclish-dev/griclish-dev -b dev

makkus commented 12 years ago

So, what should happen in that case? Printing an error and exit?

sina-masoud-ansari commented 12 years ago

Cool, thanks Markus : )

I couldn't find the message string. Is it in a Grisu dependency?

Would be nice if it was something like:

"Your session has expired. Please login and try again."

makkus commented 12 years ago

Yes, it's in grisu-client, I think...

sina-masoud-ansari commented 12 years ago

done