Skip to content

Commit

Permalink
[master][#1830]: OpenID disable option improved.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Feb 24, 2012
1 parent 1ecdfda commit b295bde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ckan/templates/user/edit_user_form.html
Expand Up @@ -19,8 +19,10 @@ <h2>Errors in form</h2>
<dt><label for="email">E-Mail:</label></dt>
<dd><input type="text" name="email" value="${data.get('email','')}" /></dd>

<dt><label for="openid">OpenID:</label></dt>
<dd><input type="text" name="openid" value="${data.get('openid','')}" /></dd>
<py:if test="g.openid_enabled">
<dt><label for="openid">OpenID:</label></dt>
<dd><input type="text" name="openid" value="${data.get('openid','')}" /></dd>
</py:if>

<dt><label for="about">About:</label></dt>
<dd class="description-field">
Expand Down
2 changes: 2 additions & 0 deletions test-core.ini
Expand Up @@ -61,6 +61,8 @@ ckan.locale_default = en

ckanext.stats.cache_enabled = 0

openid_enabled = True

# Logging configuration
[loggers]
keys = root, ckan, sqlalchemy
Expand Down

0 comments on commit b295bde

Please sign in to comment.