Coder Social home page Coder Social logo

nova-google2fa's People

Contributors

angelocala94 avatar janicerar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nova-google2fa's Issues

google2fa::navigation is not in the package

The renderNavigation() returns the view google2fa::navigation, that is not present in the package.

  • And Im also receiving 419 session expired after each call to authenticate.
  • After normal login, the package create automatically a google2fa_secret and recovery codes, not showing the QR Code or asking if I wanna enable the 2fa. Is this correct?

HasOne return type problem

Hi there.

As a temporary solution, I removed the return type of the User->user2fa method like below.

Yet, this needs clarifying, which HasOne should it be, because it tried the Eloquent HasOne, and App namespace has no HasOne.

Temporary solution:

    /**
     * @return HasOne
     */
    public function user2fa(): BelongsToOne
    {
        return $this->hasOne(User2fa::class);
    }    

to

    public function user2fa()
    {
        return $this->hasOne(User2fa::class);
    }    

Question: Can I extend the session lifetime?

Hello,

First off, this isn't a bug report. I really like using this package, super easy to set up! I was just wondering if it is possible to extend the lifetime of a 2FA session. Currently I find myself (after a couple of hours of idle time) still logged in, but I need to enter a new code. I'd like to make this period longer (i.e. seven days on the same machine) is this possible?

Thank you!

[nova] component not defined in blade

When this occurs, in the file
app/Providers/AppServiceProvider.php
the register method should be completed with:

   public function register()
    {
        //...
        $this->loadViewsFrom(__DIR__.'/../resources/views', 'nova');
    }

foreign key issue on laravel 5.8, nova 2.0, mariaDB

tried to install but it returns
General error: 1215 Cannot add foreign key constraint (SQL: alter table user_2fa add constraint user_2fa_user_id_foreign foreign key (user_id) references users (id))
while executing
php artisan migrate

Does not work on Postgre

Can you please upgrade the CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP on migrations to use pure eloquent instead?

Package Abandoned?

I'm assuming this package is abandoned?

Has anyone made a fork of this which fixes the outstanding issues? In particular, the package doesn't work with PHP 7.4+

Thanks
Scott

Option to override User2fa model

Hi @janicerar, can you please make an option to override the User2fa model? This way we can set a custom $connection on the User2fa model.

I think this will take time, so if you can just make a release for now with just the User2fa with a $connection reading from the lifeonscreen2fa.php would help a lot!

And one more thing, doesn't affect anything but I think that the annotations from the User2fa model aren't updated.

Translations

What about providing some langugage files to translate the informations in the blade files?

No found routes 2fa

I am implement this package, when to login not show google2fa, the middleware not work and redirect directly route dashboard

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.