Open jalsol opened 1 year ago
Type of change: new feature
This PR allows logging into the account that is mapped with the IP address in the database.
To be more specific, this PR checks whether any Profile.ip matches the requesting IP address.
Profile.ip
THIS PR MAY BRING BREAKING CHANGES. FURTHER TESTING IS REQUIRED.
This allows a convenient login experience, especially for onsite competitions where IP addresses are controlled.
Tested locally, in these cases:
By submitting this pull request, I confirm that my contribution is made under the terms of the AGPL-3.0 License.
Description
Type of change: new feature
What
This PR allows logging into the account that is mapped with the IP address in the database.
To be more specific, this PR checks whether any
Profile.ip
matches the requesting IP address.THIS PR MAY BRING BREAKING CHANGES. FURTHER TESTING IS REQUIRED.
Why
This allows a convenient login experience, especially for onsite competitions where IP addresses are controlled.
How Has This Been Tested?
Tested locally, in these cases:
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the AGPL-3.0 License.