浏览代码

Fix missing attributes during store

Bubka 4 年之前
父节点
当前提交
efff5ecd1f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/Http/Controllers/TwoFAccountController.php

+ 3 - 0
app/Http/Controllers/TwoFAccountController.php

@@ -55,6 +55,9 @@ class TwoFAccountController extends Controller
         // - 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;