Browse Source

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

bastien 13 years ago
parent
commit
210c4c9989

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

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

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

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

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

82
     
82
     
83
     // Création des Users
83
     // Création des Users
84
     $admin  = $this->createUser('admin', 'admin@root', 'toor');
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
     $jean   = $this->createUser('jean', 'jean@root', 'toor');
86
     $jean   = $this->createUser('jean', 'jean@root', 'toor');
87
     $paul   = $this->createUser('paul', 'paul@root', 'toor');
87
     $paul   = $this->createUser('paul', 'paul@root', 'toor');
88
     $bob    = $this->createUser('bob', 'bob@root', 'toor');
88
     $bob    = $this->createUser('bob', 'bob@root', 'toor');

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

1
+bux@here.3882