Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 685 Bytes

File metadata and controls

24 lines (17 loc) · 685 Bytes

Using FOSUserBundle

Creating a Super-Admin user

app/console fos:user:create admin --super-admin

Creating generic users

app/console fos:user:create userName

More Info

PDO Sessions

For PDO sessions you must manually add a table to the database, Doctrine will not do this for you -

CREATE TABLE `session` (
    `session_id` varchar(255) NOT NULL,
    `session_value` text NOT NULL,
    `session_time` int(11) NOT NULL,
    PRIMARY KEY (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;