Closed olegbaturin closed 11 months ago
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ✔️ |
Breaks BC? | ❌ |
Fixed issues | #79 |
Refinement of Failed Login Alerts Understanding when our system encounters unsuccessful login attempts is crucial to maintaining the security and integrity of our product. An adjustment has been made to record these incidents more coherently.
Configuration Update in Auto-login Cookies Auto-login cookies' properties, which are small files keeping users signed in, are no longer hard-set on the server-side but can be modified according to each component's needs. This offers more flexibility and customization.
New Configuration for Cookies in 'di-web.php' and 'params.php' The files 'di-web.php' and 'params.php' have gained new configurations, 'cookieName' and 'cookieParams'. These adjustments provide an opportunity to customize the identifiers of the cookies and their associated attributes, allowing for greater tune-ability of our cookies’ mechanisms.
CookieLogin Improvements The 'CookieLogin.php' script received a fresh constant, called 'DEFAULT_COOKIE_PARAMS', that standardizes certain predefined settings for the cookies. Additionally, we've adjusted the constructor in 'CookieLogin.php' to accept 'cookieName' and 'cookieParams' as inputs, which allows these aspects to be customized during every instance of a cookie’s creation.
Modified Cookie Creation Method in 'CookieLogin.php' An update has been applied to the 'addCookie' method used in 'CookieLogin.php', which will now use the new 'cookieParams' configuration when composing cookies. This adjustment ensures that the flexibility described earlier is effectively implemented in the actual creation of our auto-login cookies.
Patch coverage: 84.61%
and project coverage change: -1.26%
:warning:
Comparison is base (
427a5ab
) 88.44% compared to head (bdd4e4b
) 87.18%. Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Is php 7.4 support required for this package?
Is php 7.4 support required for this package?
No. If you want to raise PHP version to 8.0, please, create this in separate PR.
No. If you want to raise PHP version to 8.0, please, create this in separate PR.
Is php 7.4 support required for this package?
No. If you want to raise PHP version to 8.0, please, create this in separate PR.
https://github.com/yiisoft/user/pull/78
This PR already requires to raise min php ver to 8.0.
@olegbaturin PHP version raised in master branch. You can merge master to your branch.