Support the ongoing development of Laravel.io →
Eloquent Queues
Last updated 1 year ago.
0

Try logging everything to make sure your gets and token generations are working:

Log::debug($user);
Log::info($verificationToken);
// etc...

Also, try running composer update if you're on dev-master. There was a commit last night that seemed to break just about everything that has a ->where() in it, but it's fixed now.

Last updated 1 year ago.
0

I'd suggest you to install laravel-debugbar, and check all the queries.

Last updated 1 year ago.
0

Exact same issue here solved by allowing the my "access" field to be mass assignable and using the update() instead of save().

public function activate($key) {
    if ($this->confirmationCode()->getResults()->key == $key) {
        return $this->update(array('access' => $this->access['verified']));
    }
    return false;
}
Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.