mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-23 08:43:19 +01:00
Fix missing attributes during store
This commit is contained in:
parent
d6e161dbaa
commit
efff5ecd1f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user