Code Monkey home page Code Monkey logo

laravel-auth-checker's People

Contributors

acharkizakaria avatar adrianmejias avatar brunogaspar avatar danielboendergaard avatar drbyte avatar gboquizosanchez avatar guanguans avatar lex111 avatar marceauka avatar michael-rubel avatar mstaack avatar siebeve avatar vendin 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-auth-checker's Issues

Nothing saved to database

When I login nothing is saved to the devices or logins table in the database. Do I have to add an event or something in the login controller?

Thanks

ip geographical location

good morning, sorry for my orrible english.
i have installed laravel-auth-checker and i think that this is a good solution for increase the security of a project. thanks @404labfr.

i can see that you register the ip of user login. with some packages (http://lyften.com/projects/laravel-geoip/ for ex.) we can locate approximately the position of the user. If i want to increase the security, for example if i sure that my users logons always from a single country (suppose for a crm for ex.), where i can edit your package for insert the control? i think the better solution is create a new middleware. right?

reguards

Need Feature Mac Address

I would like to need more feature mac address.
Could anyone please guide me how to customize it?
Thank you for your repository.

Laravel version requirement

Hi guys, could you please tell me why we could use the plugin just with the recent version 'laravel/framework 5.4.*' and not with the other 'old' releases '5.3', '5.2' ..

I think it will be better if we could adjust it :)

Thanks in advance.

Possibility to config what data we should save

With EU laws and all of the security and data stuff breaks and leaks, It would be nice to have the option to check if we wanted to save certain data like the IP address and any other data.

How to use with API?

Would it be possible to use this package with an API, I.E a react native app, posting data to the api where we save logins and devices

Readme laravel requirement does not match composer requirement

Issue

Requirements in the README.md state that Laravel should be 5.4 or greater. The composer.json file does not reflect and fails with 5.5 versions of laravel.

README.md

Requirements

Laravel >= 5.4

Solution

Current composer.json
"laravel/framework": "5.4.*",

Updated composer.json
"laravel/framework": ">=5.4",

Pull Request

#10 update laravel requirement

State of the package?

Hi @MarceauKa

Is the package still maintained?
Two months have passed since I submitted two PRs, but no activity has been seen so far.

Problem with migration.

Hi,

I had a problem migrating the 2 tables, i had to rename 2017_03_25_124200_create_logins_table.php to 2018_03_25_124200_create_logins_table.php

Devices table should migrate first because of the reference to to foreign in create login table.

failed to add a db record after auth failure

Thank you for sharing,
i think i hit a bug...
if you simulate a failed login, and then log in successfully you will notice that no record was added due to the authentication throttling.

a normal behavior should be add a record if the type status changes regardless of throttling time, as this is a new state and should be logged.. so right now after a failed login, i do not get a successful log recorded.

the fix is as follow:
add this && $login['type'] == Login::TYPE_LOGIN to the if statement as shown below in the:
AuthChecker.php file
if (isset($login->created_at) && $login->created_at->gt($limit) && $login['type'] == Login::TYPE_LOGIN) { return false; }

cheers,
Jay

Depencency jenssegers/agent conflicts with Jetstream

The jenssegers/agent package hasn't been updated in 4 years and has a dependency conflict now with Laravel Jetstream.

- laravel/jetstream[v4.1.0, ..., v4.2.2] require mobiledetect/mobiledetectlib ^4.8 -> satisfiable by mobiledetect/mobiledetectlib[4.8.01, ..., 4.8.05].
- You can only install one version of a package, so only one of these can be installed: mobiledetect/mobiledetectlib[2.7.6, ..., 2.8.45, 4.8.01, ..., 4.8.05].
- Conclusion: install mobiledetect/mobiledetectlib 2.8.45 (conflict analysis result)
- Root composer.json requires laravel/jetstream ^4.1 -> satisfiable by laravel/jetstream[v4.1.0, ..., v4.2.2].

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.