Browse Source

Début de procédure: Mise en marche de reset password.

bastien 12 years ago
parent
commit
210c4c9989

+ 0 - 13
app/Resources/views/base.html.twig View File

@@ -1,13 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-    <head>
4
-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
-        <title>{% block title %}Welcome!{% endblock %}</title>
6
-        {% block stylesheets %}{% endblock %}
7
-        <link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
8
-    </head>
9
-    <body>
10
-        {% block body %}{% endblock %}
11
-        {% block javascripts %}{% endblock %}
12
-    </body>
13
-</html>

+ 1 - 1
src/Muzich/CoreBundle/Resources/config/security.yml View File

@@ -29,6 +29,7 @@ security:
29 29
     access_control:
30 30
         - { path: ^/hello, roles: IS_AUTHENTICATED_ANONYMOUSLY }
31 31
         - { path: ^/register, roles: IS_AUTHENTICATED_ANONYMOUSLY }
32
+        - { path: ^/resetting, roles: IS_AUTHENTICATED_ANONYMOUSLY }
32 33
         - { path: ^/, roles: ROLE_USER }
33 34
 #        # Liste des pages accessibles à tous les utilisateurs (ne pas toucher)
34 35
 #        - { path: ^/_wdt/, role: IS_AUTHENTICATED_ANONYMOUSLY }
@@ -38,7 +39,6 @@ security:
38 39
 #        - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
39 40
 #        - { path: ^/login_check$, role: IS_AUTHENTICATED_ANONYMOUSLY }
40 41
 #        - { path: ^/register$, role: IS_AUTHENTICATED_ANONYMOUSLY }
41
-#        - { path: ^/resseting$, role: IS_AUTHENTICATED_ANONYMOUSLY }
42 42
 #        
43 43
 #        # PAGES ACCESSIBLES AUX ADMINISTRATEURS
44 44
 #        - { path: ^/myapp/admin/, role: ROLE_ADMIN }

+ 1 - 0
src/Muzich/CoreBundle/Resources/views/layout.html.twig View File

@@ -27,6 +27,7 @@
27 27
   
28 28
   <div id="container">
29 29
     {% block main_content %}{% endblock %}
30
+    {% block fos_user_content %}{% endblock %}
30 31
   </div>
31 32
   
32 33
   

+ 1 - 1
src/Muzich/UserBundle/DataFixtures/ORM/LoadUserData.php View File

@@ -82,7 +82,7 @@ class LoadUserData extends AbstractFixture implements OrderedFixtureInterface, C
82 82
     
83 83
     // Création des Users
84 84
     $admin  = $this->createUser('admin', 'admin@root', 'toor');
85
-    $bux    = $this->createUser('bux', 'bux@root', 'toor');
85
+    $bux    = $this->createUser('bux', 'sevajol.bastien@gmail.com', 'toor');
86 86
     $jean   = $this->createUser('jean', 'jean@root', 'toor');
87 87
     $paul   = $this->createUser('paul', 'paul@root', 'toor');
88 88
     $bob    = $this->createUser('bob', 'bob@root', 'toor');

+ 1 - 0
web/.#app_dev.php View File

@@ -0,0 +1 @@
1
+bux@here.3882