Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactors existing auth mechanism #1393

Merged
merged 11 commits into from
Sep 16, 2023
Merged

Refactors existing auth mechanism #1393

merged 11 commits into from
Sep 16, 2023

Conversation

billz
Copy link
Member

@billz billz commented Sep 13, 2023

No description provided.

@billz
Copy link
Member Author

billz commented Sep 13, 2023

Previous auth method relied on admin credentials stored in raspap.php in project root.
This encapsulates auth logic in a new class object for better reusability.

@billz
Copy link
Member Author

billz commented Sep 16, 2023

This turned out to be a good opportunity to streamline things with a PSR-4 compliant class autoloader. Rather than explicitly require various includes, these are now autoloaded from src/RaspAP/Package/Class using namespaces.

Also fixed various php warnings and minor annoyances.

@billz billz merged commit 4f2a433 into master Sep 16, 2023
3 checks passed
@billz billz deleted the maint/authenticate branch September 16, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant