Giter VIP home page Giter VIP logo

Comments (7)

sander3 avatar sander3 commented on May 28, 2024 1

You could extend the GdprController's behavior. Override the download() and attemptLogin() methods in order to use passwordless authentication.

from laravel-gdpr.

clglavan avatar clglavan commented on May 28, 2024

Hey, would it be too much to ask how exactly I'd override the attemptLogin() method? It's unclear to me, unless I want to move all the package logic into the app, which I don't.
Thanks!

from laravel-gdpr.

sander3 avatar sander3 commented on May 28, 2024

Hi there!

One way to do it is to create your own GdprController (in your app namespace) and extend the original controller. Don't forget to register your new route. I will try to provide some examples next week.

I will also refactor the GdprController in the future to make it easier to roll out your own authentication logic.

from laravel-gdpr.

sander3 avatar sander3 commented on May 28, 2024

Quick update: you're now able to disable re-authentication. See 6e2bf4d.

I will tag a new release later today.

from laravel-gdpr.

sander3 avatar sander3 commented on May 28, 2024

https://github.com/sander3/laravel-gdpr/releases/tag/v1.5.0

from laravel-gdpr.

clglavan avatar clglavan commented on May 28, 2024

Thanks for the update, I ended up keeping the extended controller as you suggested, as I want to cases: 1) user has a normal account, which I'd like to reauthenticate, 2) user comes through socialiate where I'd implement a custom login, thus i'd not use 6e2bf4d

from laravel-gdpr.

sander3 avatar sander3 commented on May 28, 2024

from laravel-gdpr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.