Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

protection: handle login check earlier to protect other endpoints #205

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

andi34
Copy link
Owner

@andi34 andi34 commented Mar 10, 2021

Prerequisites checklist

What is the purpose of this pull request? (put an "x" next to an item)

  • Other, please explain: check for login earlier to protect other endpoints

What changes did you make? (Give an overview)

Check for login right after reading the config and forward to login page directly if needed.

Is there anything you'd like reviewers to focus on?

@andi34 andi34 merged commit 5dfbc21 into dev Mar 10, 2021
@andi34 andi34 deleted the v3/login-improvement branch March 10, 2021 19:06
@andi34 andi34 added this to the 3.0.0 milestone Mar 10, 2021
@@ -258,11 +266,6 @@ function isElementHidden($element_class, $setting)
echo '</div>';
}
}
else
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one needed to be removed too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant