Skip to content

Releases: leafsphp/auth

🔐 Château d'If

01 Sep 18:14

Choose a tag to compare

v2.3.0 - 1 Sep 2023

Added

  • Added SESSION_REDIRECT_ON_LOGIN config
  • Added SESSION_COOKIE_PARAMS config
  • Added SESSION_LIFETIME config
  • Added option to pass session options to Auth\Session::init()

Fixed

  • Improved session support throughout lib

🔐 Château d'If [Beta]

24 Aug 22:40

Choose a tag to compare

Pre-release

v2.3.0-beta - 24 Aug 2023

This a beta release, you can find the docs at beta.leafphp.dev

Added

  • Added SESSION_REDIRECT_ON_LOGIN config
  • Added SESSION_COOKIE_PARAMS config
  • Added SESSION_LIFETIME config
  • Added option to pass session options to Auth\Session::init()

Fixed

  • Improved session support throughout lib

🔐 Devil's Island

26 May 20:49
0f3cbd7

Choose a tag to compare

v2.2.2 - 26 May 2023

Fixed

  • Fix where clause when fetching user (#14)
  • Allow custom timestamp format (#13)

Thanks @crosa7

🔐 Alcatraz '1'

02 Apr 20:33

Choose a tag to compare

v.2.2.1 - 2 Apr 2023

Changed

  • Switched from leaf date to tick

🔐 Alcatraz

04 Mar 00:57

Choose a tag to compare

v2.2.0 - 4 Mar 2022

Fixed

  • Patched up issues with PASSWORD_VERIFY

Changed

  • Cleaned code up
  • Updated minimum dependency stability

Removed

  • Removed unused code

🪴 Lumina '4'

29 May 23:14
db5be70

Choose a tag to compare

v2.1.4 - 29 May 2022

Changed

  • Updated package versions

Removed

  • Removed unused code

🪴 Lumina '2'

06 Mar 10:40
a33ced3

Choose a tag to compare

v2.1.3 - 6 Mar 2022

Changed

  • Updated leaf form

🪴 Lumina '1'

17 Feb 22:30
a33ced3

Choose a tag to compare

v2.1.2 - 17 Feb 2022

Fixed

  • Fixed connection problem in Leaf MVC and Leaf API
  • Fixed redirect bug

🪴 Lumina '1'

16 Feb 17:04
35db2b4

Choose a tag to compare

v2.1.1 - 16 Feb 2022

Fixed

  • Fixed config error

🪴 Lumina '1'

13 Feb 19:02
90ce822

Choose a tag to compare

v2.1 - 13 Feb 2022

Added

  • Added db_table config

The DB_TABLE config allows you to set a particular table which leaf auth will perform operations on. Leaf auth will use this database table for storing and retrieving users. By default, it is set to users. This allows you to login, signup, update and fetch users without explicitly adding a table each time.

Fixed

  • Fixed wrong documentation

Removed

  • Removed table parameter on all references

Following the addition of the DB_TABLE config, the table parameter has been removed from leaf auth. This means that you can now pass in only the credentials on a user login like this:

$credentials = request()->get(['username', 'password']);

auth()->login($credentials);

This also applies to register, update and user.

// register
auth()->register($credentials);

// update
auth()->update($data);

// user
auth()->user();