added more comments

removed silly debug.
This commit is contained in:
Vedran Zelen
2020-07-27 12:40:45 +02:00
parent 6979d0c0b4
commit 4558e8d958
15 changed files with 23 additions and 2 deletions
+2
View File
@@ -15,6 +15,7 @@ use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Spatie\Permission\Traits\HasRoles;
//Class of which should extend Model Library
class User extends Authenticatable
{
use Notifiable;
@@ -25,6 +26,7 @@ class User extends Authenticatable
*
* @var array
*/
//protected variable which contains name of database field(s) to be filled.
protected $fillable = [
'name_first', "name_last", 'email', 'password', "phone"
];