crud-admin-generator icon indicating copy to clipboard operation
crud-admin-generator copied to clipboard

Add security component

Open juanber84 opened this issue 11 years ago • 5 comments

  • Add SecurityServiceProvider to the project
  • Custom security paths implemented in app.php
  • Add the login page
  • Add logout system in the dashboard
  • Add a default user with the credentials admin/foo

juanber84 avatar May 07 '14 19:05 juanber84

Add new feature to config the parameters with the console:

Creating the "src/app.php" file
Some parameters of your database are missing. Please provide them.
database_driver (pdo_mysql): 
database_host (127.0.0.1): 
database_name (symfony): 
database_user (root): 
database_password (null): 
database_charset (UTF8): 
Insert your admin credentials.
admin_username (admin): 
admin_password (foo): 

Create a new app.php file in gen folder to generate the src/app.php dynamically

juanber84 avatar May 10 '14 01:05 juanber84

Hi,

The command fails the first time that you execute it... It is because the app.php file is generated dynamically but the script already loaded the file before (without the database parameters filled).

Thank you!

jonseg avatar Oct 24 '14 09:10 jonseg

any update for this?

kithokit avatar Jul 30 '15 08:07 kithokit

I'm really interested in this, I might merge it with my own fork.

JnMik avatar Mar 10 '16 22:03 JnMik

Any info about merge it? Is this project alive?

kajzur avatar Jan 14 '17 19:01 kajzur