Skip to content

Conversation

@dereuromark
Copy link
Owner

@dereuromark dereuromark commented Apr 18, 2025

This will only persist ID for the user(s) and always get up to date data from DB
Prevents also having to update the session after Account data edit, or prevent issues with another user (admin) modifying your data and having to force-update the session of this other user.

  $service->loadAuthenticator('TinyAuth.Session', [
      'modelClass' => 'Users',
      'finder' => 'active',
  ]);

@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.94%. Comparing base (f69e033) to head (6721601).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #153      +/-   ##
============================================
+ Coverage     59.14%   59.94%   +0.79%     
- Complexity      816      824       +8     
============================================
  Files            40       41       +1     
  Lines          2066     2107      +41     
============================================
+ Hits           1222     1263      +41     
  Misses          844      844              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dereuromark
Copy link
Owner Author

Closing in favor of native approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants