Skip to content
This repository
Browse code

second commit for resetting password

  • Loading branch information...
commit 12afca8f19cc00da8e2467c78058748d75368bb1 1 parent efd96d8
Nguyen Sy Thanh Son authored October 20, 2011
3  .gitmodules
... ...
@@ -0,0 +1,3 @@
  1
+[submodule "vendor/bundles/Ornical/GravatarBundle"]
  2
+	path = vendor/bundles/Ornical/GravatarBundle
  3
+	url = git://github.com/ornicar/GravatarBundle.git
1  GravatarBundle
... ...
@@ -0,0 +1 @@
  1
+Subproject commit 1bcfb07b866d2160a2af41b74ce512123f144bc9
2  app/config/config.yml
@@ -68,4 +68,4 @@ ornicar_gravatar: ~
68 68
 #        default:
69 69
 #            tree: true
70 70
 #            timestampable: true
71  
-#            loggable: false
  71
+#            loggable: false
4  app/config/security.yml
@@ -25,6 +25,10 @@ security:
25 25
         login:
26 26
             pattern:  ^/login$
27 27
             security: false
  28
+
  29
+        user:
  30
+            pattern: /user
  31
+            security: false
28 32
             
29 33
         main:
30 34
             pattern:      /.*
2  src/CuteFlow/CoreBundle/Entity/User.php
@@ -128,7 +128,7 @@ class User implements UserInterface
128 128
      *      inverseJoinColumns={@ORM\JoinColumn(name="group_id", referencedColumnName="id")}
129 129
      *      )
130 130
      */
131  
-    public $groups;
  131
+    protected $groups;
132 132
 
133 133
 
134 134
     /**
2  src/CuteFlow/CoreBundle/Resources/views/User/list.html.twig
@@ -45,7 +45,7 @@
45 45
       <tbody>
46 46
         {% for user in paginator %}
47 47
             <tr class="{{ cycle(['odd', 'even'], loop.index) }}">
48  
-                <td><img class="gravatar" width="14" height="14" src="" /></td>
  48
+                <td><img class="gravatar" width="14" height="14" src="{{ gravatar(user.email, 14) }}" /></td>
49 49
                 <td>{{ user.lastName }}</td>
50 50
                 <td>{{ user.firstName}}</td>
51 51
                 <td>{{ user.email}}</td>
1  src/vendor/bundles/Orinical
... ...
@@ -0,0 +1 @@
  1
+Subproject commit 1bcfb07b866d2160a2af41b74ce512123f144bc9
1  vendor/bundles/Ornical/GravatarBundle
... ...
@@ -0,0 +1 @@
  1
+Subproject commit 1bcfb07b866d2160a2af41b74ce512123f144bc9

0 notes on commit 12afca8

Please sign in to comment.
Something went wrong with that request. Please try again.