Skip to content

Commit

Permalink
mod_signup: Fix #1755 by showing error on duplicate username (#1908)
Browse files Browse the repository at this point in the history
(cherry picked from commit 860f0bd)
  • Loading branch information
mworrell authored and ddeboer committed May 31, 2018
1 parent 84617ba commit d02bca2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/zotonic_mod_signup/priv/templates/_signup_box.tpl
Expand Up @@ -24,6 +24,10 @@ form_outside_tpl
{_ Sorry, there is already an account coupled to your account at your service provider. Maybe your account here was suspended. _}
</div>

<div id="signup_error_duplicate_username" class="alert alert-danger">
{_ Sorry, this username is already in use. Please try another one. _}
</div>

{% if form_form_tpl %}
{% include form_form_tpl
page=page
Expand Down

0 comments on commit d02bca2

Please sign in to comment.