Fix missing attributes during store

This commit is contained in:
Bubka 2020-11-17 15:45:01 +01:00
parent d6e161dbaa
commit efff5ecd1f

View File

@ -55,6 +55,9 @@ public function store(Request $request)
// - The advanced form has been used and provide no uri but all individual parameters
// -> We use the parameters collection to populate the account
$twofaccount = new TwoFAccount;
$twofaccount->service = $request->service;
$twofaccount->account = $request->account;
$twofaccount->icon = $request->icon;
if( $request->uri ) {
$twofaccount->uri = $request->uri;