Skip to content

Releases: leafsphp/auth

🍁 Willow-leaved Sandthorn

06 Feb 21:31
Compare
Choose a tag to compare

v3.4.1

Fixed

  • Removed default from text field

🍁 Willow-leaved Sandthorn

15 Jan 19:13
Compare
Choose a tag to compare

v3.4 - 15 Jan 2025

Added

  • Added middleware for checking user email verification status auth.verified, auth.unverified
  • Added function to generate verification tokens auth()->user()->generateVerificationToken()
  • Added functions to verify tokens and users auth()->verifyToken(), auth()->user()->verify()
  • Added functions to check verification status auth()->user()->isVerified()

πŸ₯€ Sea Buckthorn '1'

22 Dec 10:12
Compare
Choose a tag to compare

v3.3.1 - 22 Dec 2024

Fixed

  • Fixed checks for preventing assigning the same role multiple times
  • Merged duplicates from permission list of multiple roles

πŸ₯€ Sea Buckthorn

15 Dec 18:38
Compare
Choose a tag to compare

v3.3 - 15 Dec 2024

Added

  • Added support for roles/permissions
  • Added Auth::createUserFor() method
  • Added Auth::find() method

Changed

  • Added default behaviour for all auth middleware

πŸ₯€ Blackthorn

06 Dec 15:51
Compare
Choose a tag to compare

v3.2 - 6 Dec 2024

Fixed

  • Rename model get() to table() to avoid confusion with Leaf DB get()

Changed

  • Add overload function to skip calling get() on model

πŸ₯€ Hawthorn '1'

03 Dec 22:50
Compare
Choose a tag to compare

v3.1.1 - 3 Dec 2024

Fixed

  • Disable password auth when using fromOAuth()

πŸ₯€ Hawthorn

02 Dec 10:06
Compare
Choose a tag to compare

v3.1 - 2 Dec 2024

Added

  • Added fromOAuth() method to save a user and create a new session from an OAuth response
  • Added oauthToken() to get currently active tokens added with fromOAuth()

Changed

  • Replaced user relationships with model for interacting with other tables with user data

πŸ₯€ Firethorn '3'

12 Nov 19:50
Compare
Choose a tag to compare

v3.0.3 - 12 Nov 2024

Fixed

  • Patched up JWT expiry error
  • Patched up failures from non-numeric session lifetimes

πŸ₯€ Firethorn '2'

12 Nov 14:28
Compare
Choose a tag to compare

v3.0.2 - 12 Nov 2024

Fixed

  • Patched up exceptions thrown for JWT decode failures

πŸ₯€ Firethorn

08 Nov 19:51
Compare
Choose a tag to compare

v3.0.1 - 8 Nov 2024

Fixed

  • Check DB connection on user