Support the ongoing development of Laravel.io →
posted 9 years ago
Authentication
Last updated 2 years ago.
0

Just a wild guess. But what I notice is that the your function retrieveByToken isn't using the same arguments as the interface.

Have you tried to replace


public function retrieveByToken()
  {
    return true;
  }

With this?

public function retrieveByToken($identifier, $token)
  {
    return true;
  }

0

After replacing with what you suggested above I get...

Declaration of Project\Providers\AuthUserProvider::updateRememberToken() must be compatible with Illuminate\Auth\UserProviderInterface::updateRememberToken(Illuminate\Auth\UserInterface $user, $token)
0

I got it working don't know how but all I did erased the last function and retyped everything... whitespace somewhere i don't know... I'm so lost but :) its working now.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

nomie7 nomie7 Joined 2 Dec 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.