Coder Social home page Coder Social logo

Comments (5)

bpocallaghan avatar bpocallaghan commented on July 21, 2024

Hi @alhaji-aki
Thank you for giving this project a try.
Which version / tag are you using. Because I did some major refactoring and I actually reversed that change from \App\Models\User back to \App\User.php...

I think branch - version 1 is still using it, let me push a fix for it and then you can see which files changed.
Do you perhaps prefer a fix on the impersonate package, or perhaps a search and replace will do in your project?

As you might've noticed. I am actually busy refactoring version 2 and should hopefully push some updates to it soon (just giving it a try in my current project and making some notes to help with the setup)

from laravel-admin-starter.

bpocallaghan avatar bpocallaghan commented on July 21, 2024

Update

I just did a search and replace.
Please let me know if you have any issues or questions.
Thank you,
Happy coding!

from laravel-admin-starter.

alhaji-aki avatar alhaji-aki commented on July 21, 2024

Thank you. I have seen your update and I am pulling it. I think the problem is coming from the impersonate package. It is calling App\User instead of Appp\Models\User so in version 2 u can do it such that it uses the config(auth.model) rather.

from laravel-admin-starter.

bpocallaghan avatar bpocallaghan commented on July 21, 2024

Thanks, Aaah, good idea, will see what I can do.
I think the update should solve version 1 for now (same namespace path for both)

Please shout if you have trouble or have any questions. Thanks!

from laravel-admin-starter.

alhaji-aki avatar alhaji-aki commented on July 21, 2024

You are welcome. And once again thank you for this project

from laravel-admin-starter.

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.