mardi 8 novembre 2016

password reset table column name override laravel 5

Hello friends i have modified password reset table column name 'created_at' instead of 'created'. if i am changing column name 'created' on migration, But i am getting the error column not found 'created_at'.

 \vendor\laravel\framework\src\Illuminate\Auth\Passwords\DatabaseTokenRepository.php
 protected function getPayload($email, $token)
{
    return ['email' => $email, 'token' => $token, 'created_at' => new Carbon];
}

this is the file coming from column name 'created_at' where i can override this function please suggest me..



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire