# Bug OP-19465 - Assign random password e-mail not sent

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-19465

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / User administration |
| Target versions | 17.6.0 |
| Observed in versions | 17.4.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.4.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

<br>

1.  Login as an admin user and have at least one other activated test user ready

2.  Go to administration -\> Users and permissions -\> Users

3.  Select the other *activated* user

4.  Select: Assign random password (sent to user via email) \[x\]

5.  Save

### What is the buggy behavior?

<br>

  - No e-mail is sent to the user

### What is the expected behavior?

<br>

1.  A random new password is assigned

2.  An email should have been sent to that user
    
    1.  Ideally, the email being sent out makes it easy to visually differentiate the password and select it

### Note

<br>

If you use the 'Send invitation' button in the user profile to send a new invitation, and then try to assign a random password again (see the steps above), an email containing a new password will be sent out. This happens regardless of whether the invitation has been used or not.

### 

### **Logs**

<br>

none

### Screenshots and other files

<br>

### Environment information

<br>

**OpenProject installation type**

  - Hosted cloud edition

  - Docker All-in-one container

  - Docker-compose installation

**OpenProject version**

17.4

**Browser**

- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [x] Other (Vivaldi)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

*DE/EN tested*
