Add two-factor authentication fields to hidden array in User model
This commit is contained in:
		| @@ -26,6 +26,8 @@ class User extends Authenticatable implements SendsEmail | ||||
|     protected $hidden = [ | ||||
|         'password', | ||||
|         'remember_token', | ||||
|         'two_factor_recovery_codes', | ||||
|         'two_factor_secret', | ||||
|     ]; | ||||
|     protected $casts = [ | ||||
|         'email_verified_at' => 'datetime', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai