Commit Graph

20 Commits

Author SHA1 Message Date
Gaurav Makhecha 62c5bbf820
Seeded users should be verified by default
the email_verified_at column value is used to determine whether a user has verified her account.
2018-09-15 10:14:06 +05:30
Sjors Ottjes c3d3dc1403
Add comment with the value of the hashed password 2017-12-21 17:00:07 +01:00
Taylor Otwell f693a20a3c just use hard-coded hash 2017-12-20 07:49:07 -06:00
Taylor Otwell c5add7ab72 simplify factory 2017-05-06 15:28:45 -04:00
Taylor Otwell c161b14ee0 Apply fixes from StyleCI 2017-04-11 15:43:42 +00:00
Taylor Otwell 67a8a11570 rename ModelFactory to UserFactory to encourage separate files 2017-04-11 10:41:19 -05:00
ARCANEDEV f699e710ad Fixing typehint 2016-10-07 23:31:23 +01:00
Taylor Otwell a37215d044 fix spacing 2016-10-07 16:39:42 -05:00
Barry vd. Heuvel 93e078a79d Add typehint for Factory 2016-10-07 15:08:41 +02:00
Kai Rienow dcf971805d Add unique modifier 2016-09-20 08:23:40 +02:00
Adam Wathan 3435710575 Use implicit null instead of explicit 2016-08-21 14:29:10 +02:00
Adam Wathan 792dcd48c8 Compute hash only once and store in static variable 2016-08-21 14:23:50 +02:00
Adam Wathan b041a03878 Use precomputed hash instead of bcrypt in ModelFactory 2016-08-21 12:31:02 +02:00
Martin Bean 00e5c4465c Use safeEmail instead
Faker’s `email` method can accidentally generate email addresses. This ensures “safe” addresses are only ever generated by the factory, to avoid spamming actual mailboxes if mail was sent in a loop etc.
2016-02-16 12:02:26 +00:00
Duilio Palacios 83ffbc65d1 Using the bcrypt function in users generated by the model factory 2015-07-13 16:05:37 +00:00
Andrew 037769e1aa remove leading slash
requested by project maintainer
2015-07-07 15:44:15 -05:00
Andrew 7bb1326535 type hint faker generator
allow IDE to help with autocompletion
2015-07-07 14:47:02 -05:00
Pantelis Peslis 16e37cb370 Use the ::class notation 2015-06-08 10:29:33 +03:00
Taylor Otwell 9a6c3df7a0 Use define syntax. 2015-05-09 16:43:45 -05:00
Taylor Otwell fdf6dd7c20 Stub factory. 2015-05-08 08:42:04 -05:00