Do not send email confirmation if is not changed
This commit is contained in:
parent
c520edd2f3
commit
4709667fe3
1 changed files with 1 additions and 1 deletions
|
@ -134,8 +134,8 @@ class ProfileController extends Controller
|
|||
|
||||
if ($request->input('email') != Auth::user()->email) {
|
||||
$user->reVerifyEmail();
|
||||
$user->sendEmailVerificationNotification();
|
||||
};
|
||||
$user->sendEmailVerificationNotification();
|
||||
|
||||
return redirect()->route('profile.index')->with('success', __('Profile updated'));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue