Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php namespace App\Models;
- use Myth\Auth\Models\UserModel as MythModel;
- use App\Entities\User;
- class UserModel extends MythModel
- {
- protected $returnType = User::class;
- protected $allowedFields = [
- 'email', 'username', 'password_hash', 'reset_hash', 'reset_at', 'reset_expires', 'activate_hash',
- 'status', 'status_message', 'active', 'force_pass_reset', 'permissions', 'deleted_at',
- 'phone', 'fullname', 'avatar', 'nik', 'address', 'token_fcm'
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement