Skip to content

Releases: grosv/laravel-passwordless-login

Laravel 8

07 Sep 23:21
3680d7e
Compare
Choose a tag to compare

Ready for Laravel 8

Single Use Links

23 Apr 19:40
Compare
Choose a tag to compare

This minor release adds the ability to make login links single use. If in your .env you set LPL_USE_ONCE=true used links will be remembered in the cache and, if found, will throw a 401 instead of logging the user in. You can also add a custom message to the 401. See README for more info.

Patch

22 Apr 12:08
Compare
Choose a tag to compare

Fixes a bug that prevented the link from expiring.

You have to be kidding me!

13 Mar 01:19
a0bc132
Compare
Choose a tag to compare

My kid pooped himself as I was trying to get the last release together so I had created the pull request that fixed the problem but hadn't merged it. Now it really should be working. I hope.

Properly functioning release

12 Mar 23:34
Compare
Choose a tag to compare

Fixed a really stupid bug where because I forgot to add the web middleware to the login route, users were momentarily logged in but then immediately logged out on redirect.

This bug seems to indicate, though, that there is a bug in the Laravel test suite because the tests demonstrated that the user session persisted beyond the redirect which it obviously did not in the real world. I will recreate for the purposes of demonstrating the problem and see if I can get the Larapeeps to fix the tests suite so that nobody else suffers like I have today.

Add stuff that I missed in the last release

12 Mar 22:20
Compare
Choose a tag to compare

Bring reality in line with documentation

One line link creation for trait-using models

12 Mar 12:23
39dffd1
Compare
Choose a tag to compare

Added createPasswordlessLoginLink() to the trait to provide a one-line option for generating the link once you have a user model that you want to log in.

v1

11 Mar 20:24
39dffd1
Compare
Choose a tag to compare
v1

With a great deal of help from @ashleighsims and @innoflash we worked through a couple of bugs, added the ability to set the redirect url on the fly, and created a trait to make per-user-type defaults easy. I feel good deploying this package in my own projects at work now and look forward to keeping it great with your help!

Adds Facade

05 Mar 14:31
0eb806e
Compare
Choose a tag to compare
Adds Facade Pre-release
Pre-release

Facade now available. Should be last pre-release release.

Remove database migrations

29 Feb 00:18
27a1bd2
Compare
Choose a tag to compare
Pre-release

I had added a phone column to the default users table when I intended to handle the actual delivery of the link to the user in this package. But since I decided that was out of scope for this package, I'm removing that migration.