Skip to content

Commit

Permalink
Make index scaffold aware of password fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Aug 1, 2010
1 parent d2a77f4 commit a9ca0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geddy-core/scripts/gen/views/index_scaffold.html.ejs
Expand Up @@ -32,7 +32,7 @@
<tr>
<@ for (var p in item.properties) { @>
<td>
<@= item[p] || '&nbsp;'; @>
<@= (p == 'password') ? '******' : (item[p] || '&nbsp;'); @>
</td>
<@ } @>
<td>
Expand Down

0 comments on commit a9ca0f9

Please sign in to comment.