Automated User Creation + Random Password -> Expires after 14 Days

Hey Guys,

I need some help with a PHP script.

First the User fills out a Form manually, after he saved the Form the Script should execute the following things:

  1. It should save this form in a Nextcloud folder.

  2. It should create a new user, with a random generated password.

  3. The User should get a confirmation email with his login details.

  4. The account should expire after 14 days.

I hope there is someone who unterstands what I mean and could help me :slight_smile:

best regards