diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-12 16:13:40 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-12 16:13:40 +0200 |
commit | fb96ea884532e9804194afd92a98c5c6aecc177e (patch) | |
tree | dfcb9a7cd9a1eeac200852ef74f6fc9329e3337c /src/Wallabag/CoreBundle/DataFixtures | |
parent | 9c08a891f9bb90bc3f23a575a734283c1ee00ba1 (diff) | |
parent | af43bd37675954f937720f7b6fbcf78d85928bc5 (diff) | |
download | wallabag-fb96ea884532e9804194afd92a98c5c6aecc177e.tar.gz wallabag-fb96ea884532e9804194afd92a98c5c6aecc177e.tar.zst wallabag-fb96ea884532e9804194afd92a98c5c6aecc177e.zip |
Merge pull request #1362 from wallabag/v2-fosuser
implement FosUser
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures')
-rw-r--r-- | src/Wallabag/CoreBundle/DataFixtures/ORM/LoadUserData.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadUserData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadUserData.php index 1c7f9dfa..4ef53329 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadUserData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadUserData.php | |||
@@ -19,6 +19,7 @@ class LoadUserData extends AbstractFixture implements OrderedFixtureInterface | |||
19 | $userAdmin->setEmail('bigboss@wallabag.org'); | 19 | $userAdmin->setEmail('bigboss@wallabag.org'); |
20 | $userAdmin->setUsername('admin'); | 20 | $userAdmin->setUsername('admin'); |
21 | $userAdmin->setPassword('mypassword'); | 21 | $userAdmin->setPassword('mypassword'); |
22 | $userAdmin->setEnabled(true); | ||
22 | 23 | ||
23 | $manager->persist($userAdmin); | 24 | $manager->persist($userAdmin); |
24 | 25 | ||
@@ -29,6 +30,7 @@ class LoadUserData extends AbstractFixture implements OrderedFixtureInterface | |||
29 | $bobUser->setEmail('bobby@wallabag.org'); | 30 | $bobUser->setEmail('bobby@wallabag.org'); |
30 | $bobUser->setUsername('bob'); | 31 | $bobUser->setUsername('bob'); |
31 | $bobUser->setPassword('mypassword'); | 32 | $bobUser->setPassword('mypassword'); |
33 | $bobUser->setEnabled(true); | ||
32 | 34 | ||
33 | $manager->persist($bobUser); | 35 | $manager->persist($bobUser); |
34 | 36 | ||