Login, login and login again

#1

Hello.

I understand that Octroprint should secured and not accessible to everyone. But the Login behavior only makes me grow gray hair.

I open the page.. Login screen... login ok... i work with Octoprint... after 15 min i came back to the Notebook... UI shows no update... i press the login button... nothing... i press F5 ... Login screen... login... Loginscreen appears again. i relogin again... and from now ... i can work with Octoprint.

My main question is: Is it possible to disable the Login Window (and automatical login) for Users in the internal Network or to disable the login procedure for all?

System:
Server: Ubuntu 18 Server 18.04.1

Client:
Notebook Windows 10

Grüße (Greetings),
Christian

#2

There's a bug in the 'remember password' prompt. It'll be fixed in 1.3.11.

#3

The answer to both these questions can be found in the docs.

#4

Thanks a lot. Works great.

Christian

#5

The "auto-login" doesn't seem to work for me from my local network.

My config.yaml looks like this:

--
accessControl:
autologinAs: Someuser
autologinLocal: true
enabled: true
localNetworks:

  • "127.0.0.1/8"
  • "192.168.1.0/24"
    --

Can't seem to figure it out. Any help much appreciated.

With kind regards,

Martijn

#6

My entry is:

accessControl:
  autologinAs: admin
  autologinLocal: true
  localNetworks:
  - 127.0.0.1/8
  - 192.168.1.0/24
#7

Also take care that your browser does not auto delete the cookies.