https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-02-23T17:45:27ZRedmineRedmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=255482011-02-23T17:45:27ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Cant reproduce</i></li></ul><p>Can not reproduce with either 1.1-stable or trunk.<br />Make sure your email delivery is properly setup.</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=281482011-04-19T23:16:49ZMatt Connolly
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>I can reproduce this issue. The problem I see is specific to editing a user.</p>
<p>If you edit a user and have the "Send account information to the user" option checked, the details are only sent to the user if a new password has been explicitly set. ie: If you change their name or email, nothing will be sent.</p>
<p>Is this by design? If so, it's confusing and perhaps the label for the checkbox could be "Send new password to the user" which infers that it will not do anything unless a new password has been entered.</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=281592011-04-20T07:54:43ZEtienne Massip
<ul><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul><p>Condition at <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/controllers/users_controller.rb#L160">source:trunk/app/controllers/users_controller.rb#L160</a> is :<br /><pre><code class="ruby syntaxhl"><span class="vi">@user</span><span class="p">.</span><span class="nf">active?</span> <span class="o">&&</span> <span class="n">params</span><span class="p">[</span><span class="ss">:send_information</span><span class="p">]</span> <span class="o">&&</span> <span class="o">!</span><span class="n">params</span><span class="p">[</span><span class="ss">:user</span><span class="p">][</span><span class="ss">:password</span><span class="p">].</span><span class="nf">blank?</span> <span class="o">&&</span> <span class="vi">@user</span><span class="p">.</span><span class="nf">auth_source_id</span><span class="p">.</span><span class="nf">nil?</span></code></pre></p>
<p>So you're right, a new password needs to be entered which is a bit confusing.<br />This checkbox is used to send new account information to the user at creation too.</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=356622012-01-31T15:15:32ZSteve Moyer
<ul></ul><p>I ran into a variant of this bug that I thought was worth mentioning. I'm using LDAP authentication with my Redmine instance and therefore there is no password to change. But when I create a user account in Redmine, I really would like to send an e-mail with the details. So I guess I'm also voting for the idea that any account creation or account change (or even clicking the save button again without changes) be allowed to create the e-mail.</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=422772012-10-24T11:44:47ZOleg Kozlyuk
<ul></ul><p>+1. Sending info to LDAP users would be helful.</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=440462013-01-10T15:19:37ZMiodrag Milic
<ul></ul><p>+1 for LDAP users</p>
<p>Actually, this should be a button visible for admins only.</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=445382013-01-16T10:08:55ZDaniel Felix
<ul></ul><p>Etienne Massip wrote:</p>
<blockquote>
<p>Condition at <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/controllers/users_controller.rb#L160">source:trunk/app/controllers/users_controller.rb#L160</a> is :<br />[...]</p>
<p>So you're right, a new password needs to be entered which is a bit confusing.<br />This checkbox is used to send new account information to the user at creation too.</p>
</blockquote>
<p>Any news on this Etienne? :-)<br />Maybe this could be fixed in the next minor release?</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=449102013-01-23T18:00:47ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul>The existing email notification is used to send the password, that's why it's only sent when the password is set. If we want to be able to send an email in any case, it would be better to define different templates for when:
<ol>
<li>the account was created</li>
<li>the account was updated without password change</li>
<li>the password was changed</li>
</ol>
<p>In 2., what should the email look like?</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=449232013-01-24T14:59:17ZEtienne Massip
<ul></ul><p>Suggestion:</p>
<ol>
<li>
<ul>
<li>object: <cite>Your account has been created</cite></li>
<li>body: every field name and value visible in the <cite>Information</cite> fieldset of the user account screen and password if internal auth</li>
</ul>
</li>
<li>
<ul>
<li>object: <cite>Summary of your account</cite></li>
<li>body: every field name and value visible in the <cite>Information</cite> fieldset of the user account screen</li>
</ul>
</li>
<li>
<ul>
<li>object: <cite>Your authentication information has been updated</cite></li>
<li>body: password and every field name and value visible in the <cite>Information</cite> fieldset of the user account screen</li>
</ul></li>
</ol>
<p><em>Edited x times</em></p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=450762013-01-28T07:52:38ZDaniel Felix
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li></ul><p>This is more likely a feature request then a defect.</p> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=771332017-03-06T12:09:44ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/25249">Patch #25249</a>: Change translation for label_send_information</i> added</li></ul> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=773492017-03-18T09:16:08ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Target version</strong> changed from <i>Candidate for next minor release</i> to <i>3.4.0</i></li><li><strong>Resolution</strong> deleted (<del><i>Cant reproduce</i></del>)</li></ul> Redmine - Defect #7577: "Send account information to the user" only works when password is sethttps://www.redmine.org/issues/7577?journal_id=776942017-04-03T10:50:35ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Tracker</strong> changed from <i>Feature</i> to <i>Defect</i></li><li><strong>Subject</strong> changed from <i>"Send account information to the user" is broken</i> to <i>"Send account information to the user" only works when password is set</i></li><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Change done in <a class="changeset" title="Send email even if password is not changed (#7577)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/16453">r16453</a>. An email with username and login URL will now be sent when the password is not changed.</p>