darkghosthunter / passless Goto Github PK
View Code? Open in Web Editor NEWPasswordless Authentication Driver for Laravel. Just add water.
License: MIT License
Passwordless Authentication Driver for Laravel. Just add water.
License: MIT License
Sorry to leave a question as an issue. If thereβs a better way to ask please tell me.
Could you suggest how I might use same Passless emailed token immediately after registration in RegistrationController instead of automatically logging the user in?
I thought that the ->login
call in the register function would make use of the new driver, but it seems to bypass it.
Any sample code or explanation appreciated πππ
L5.8
Hi,
for less experienced coders i suggest to add instruction that in order for this to function you need to override validateLogin function so it doesn't expect password. In your instruction it says only delete password field from login.blade.php
Add to LoginController.php
use Illuminate\Http\Request;
public function validateLogin(Request $request)
{
$this->validate($request, [
'email' => 'required|email|exists:users',]);
}
@DarkGhostHunter Thanks for your work on this. It looks like a well thought out implementation for passwordless auth. I'm going to plug it in to a site I'm working on now and check it out.
FYI: Your website http://italobc.com linked in github is not responding. Do you have another website address or could you send me your contact info? I may have some coding / project / work for you, in the near future, if you are interested?
Thanks,
Robert
Hi,
I have a scenario where i have a list of emails and i want to generate login link for each email and send this link be email. Once person click the link I want new user to be created in Laravel and signed in (skip registration step).
is where a way to call passless function like passless::createLoginLink('[email protected]') ???
Framework: Laravel 5.8
PHP: 7.3.3
When the passless
Guard driver's attempt()
method is called, I get the following server error:
Some research turned up a StackOverflow question with the same error. It appears storing a reference to type-hinted dependencies is not okay in a Queueable Notification.
Laravel 5.8.28
Passless 2.0.1
PHP 7.2.18
When I run php artisan vendor:publish --provider=DarkGhostHunter\Passless\PasslessServiceProvider
I get the message "Publishing complete" but no file is created/copied into my config dir.
I've attempted to clear cache, and dump autoload, and I'm told that:
Discovered Package: darkghosthunter/passless
.
Please let me know if I can test anything and provide more info. Thanks!
Framework: Laravel 5.8
PHP: 7.3.3
It is as the title suggests. When I run php artisan vendor:publish --provider="DarkGhostHunter\Passless\PasslessServiceProvider"
with v2.0.0
, the config file does not get copied.
In addition, when I manually copied the contents of /config/passless.php
to my project, the passless.notification
config is being ignored. The default DarkGhostHunter\Passless\LoginNotification
is used, regardless of what I put in the config file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.