WIP: Next major version - AthenaHR v2 #1
@@ -100,11 +100,13 @@ class InvitationController extends Controller
|
||||
$invitation->save();
|
||||
|
||||
return redirect()
|
||||
->with('success', __('Invitation denied. No notifications were sent. This user cannot be invited again.'))
|
||||
->back();
|
||||
->back()
|
||||
->with('success', __('Invitation denied. No notifications were sent. This user cannot be invited again.'));
|
||||
|
||||
}
|
||||
|
||||
return redirect()
|
||||
->back()
|
||||
->with('error', __('This invitation could not be denied because it is either already approved, expired, or in an otherwise invalid state.'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user