Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Better warning message since email is username
  • Loading branch information
Josh Lavin committed Jun 6, 2016
1 parent dfd8dcd commit ebf8bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/strap/pages/member/change_email.html
Expand Up @@ -72,7 +72,7 @@ <h1>[scratch page_title]</h1>

$log->("Username $Session->{username} changed email to $email.");

return $Tag->warnings(errmsg("Changed username to %s.", $email)) if $result;
return $Tag->warnings(errmsg("Changed email to %s.", $email)) if $result;
return $Tag->error({ name => 'change_email', set => 'Failure -- please contact us.' });
[/perl]
[/set]
Expand Down

0 comments on commit ebf8bd1

Please sign in to comment.