Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Needs further analysis first.
Not sure if I observe the same item with this:
result: I have to logon by manually entering user and password.
I thought it's a security feature :). But looks similar to what is described here.
The log states it actually is logging on a user passively. Username "None".
<<action: open webpage>>
<<action: enter username octoadmin/password>>
code for the message at "21:35:20,393" seems to be in ./oprint/lib/python2.7/site-packages/octoprint/server/util/flask.py, lines 593-595. (only matching location for that message above I found).
Interestingly code checks IF user is NOT "None" and then logs the user as "None" in octoprint.log. Are "if user" and "user.get_id()" intentionally two different things?
It's not even reaching the autologin parts for me in the following lines that @schnello reported, so maybe a different case.
Just an observation reading this thread. Not a problem for me.
Edit: tested - testing against user.get_id does not show "passively logging in None" in log.
@loskexos that's a good hint actually... there might be a logic issue here in that code block due to anonymous users no longer being
I'll have to take a close look at things here, I'm fairly certain there was a reason why I don't check if the user is anonymous here, but I'm not 100% sure.