Forcelogin: Access to settings isn't needed either
This commit is contained in:
1 parent
a9f76dd1a3
commit
e53ae8cd56
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class ForceLoginPlugin(octoprint.plugin.UiPlugin,
|
||||
# ACL hasn't been configured yet, make an exception
|
||||
return
|
||||
|
||||
if flask.request.endpoint in ("api.login", "api.getSettings"):
|
||||
if flask.request.endpoint in ("api.login",):
|
||||
return
|
||||
|
||||
user = flask_login.current_user
|
||||
|
||||
Reference in new issue
Block a user