Strange that Rule::unique doesn't take into the SoftDeletes Global Scope applied on the Model, by default.
But withoutTrashed() method is available
Rule::unique('users', 'email')->withoutTrashed();
Tip given by @Zubairmohsin33
Strange that Rule::unique doesn't take into the SoftDeletes Global Scope applied on the Model, by default.
But withoutTrashed() method is available
Rule::unique('users', 'email')->withoutTrashed();
Tip given by @Zubairmohsin33