Git Product home page Git Product logo

tutorial-laravel-4-authentication's People

Contributors

assertchris 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

Watchers

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

tutorial-laravel-4-authentication's Issues

Authentication Update for Laravel

Hi Chris, recently brought your book and have been working through the tutorials etc and trying to get a hang of everything.
There were a few updates to authentication i finally figured out but not sure how do show that properly yet using github so below is what the changes were. The same also applied to your laravel-tricks website source. :-) Finally got both working! Great book and thanks for all the tutorials!

It involved adding this to the user.php file:

public function getRememberToken()
{
    return $this->remember_token;
}

public function setRememberToken($value)
{
    $this->remember_token = $value;
}

public function getRememberTokenName()
{
    return 'remember_token';
}

For the database migration i also added the following column

        $table
            ->string("remember_token")
            ->nullable()
            ->default(null);

Empty token

Hello.
I just bought the your book and have I really enjoy it, but I can't get the user/reset action to work.
The token is always empty: /reset?token=
There is a hidden field as expected _token but no value is ever assigned to ?token.
At inital pageload: Input::get('token') is used but it haven't been set or I am missing something :-) ?

This is also the case for this version on gitHub.

No test files

How do You know that this code is error free if there are not any tests (TDD)?

Have an issue with the /request

Hello, great tutorial! Just have an issue with the /request for a new password. It seems to just error out the page when I click reset. I have everything setup exactly how you set up and I keep getting this, except for the database connection, but same tables and code.
screen1

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.