mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
Fix Jira FLEXIAPI-129 Validate the password confirmation when creating a new...
This commit is contained in:
parent
b6b54802d2
commit
06e92a6f93
1 changed files with 4 additions and 0 deletions
|
|
@ -81,6 +81,10 @@ class AccountController extends Controller
|
|||
|
||||
public function store(CreateAccountRequest $request)
|
||||
{
|
||||
$request->validate([
|
||||
'password' => 'confirmed'
|
||||
]);
|
||||
|
||||
$account = new Account;
|
||||
$account->username = $request->get('username');
|
||||
$account->email = $request->get('email');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue