mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fix #115 Check if $account exists
This commit is contained in:
parent
5fd6766a8e
commit
3ae460de5a
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ class ProvisioningController extends Controller
|
|||
}
|
||||
|
||||
// Password reset
|
||||
if ($request->has('reset_password')) {
|
||||
if ($account && $request->has('reset_password')) {
|
||||
$account->updatePassword(Str::random(10));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue