|
|
@ -51,9 +51,9 @@ class ConfirmEmailController extends Controller |
|
|
|
|
|
|
|
|
|
|
|
if ($wasConfirmed) { |
|
|
|
if ($wasConfirmed) { |
|
|
|
// user just changed an e-mail |
|
|
|
// user just changed an e-mail |
|
|
|
flash()->success("Your new e-mail $ec->email was confirmed!")->important(); |
|
|
|
flash()->success("Your new e-mail $ec->email was confirmed!"); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
flash()->success("Your e-mail $ec->email was confirmed, your account is now active!")->important(); |
|
|
|
flash()->success("Your e-mail $ec->email was confirmed, your account is now active!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return redirect(route('profile.view', $u->name)); |
|
|
|
return redirect(route('profile.view', $u->name)); |
|
|
|