Releases: leafsphp/auth
Releases Β· leafsphp/auth
π Willow-leaved Sandthorn
v3.4.1
Fixed
- Removed default from text field
π Willow-leaved Sandthorn
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'
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
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
v3.2 - 6 Dec 2024
Fixed
- Rename model
get()
totable()
to avoid confusion with Leaf DBget()
Changed
- Add overload function to skip calling
get()
on model
π₯ Hawthorn '1'
v3.1.1 - 3 Dec 2024
Fixed
- Disable password auth when using
fromOAuth()
π₯ Hawthorn
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 withfromOAuth()
Changed
- Replaced user relationships with model for interacting with other tables with user data
π₯ Firethorn '3'
v3.0.3 - 12 Nov 2024
Fixed
- Patched up JWT expiry error
- Patched up failures from non-numeric session lifetimes
π₯ Firethorn '2'
v3.0.2 - 12 Nov 2024
Fixed
- Patched up exceptions thrown for JWT decode failures
π₯ Firethorn
v3.0.1 - 8 Nov 2024
Fixed
- Check DB connection on user