-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of26-feedbackbugenhancementfeature: emailsfeature: occfeature: users and groupsgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.
Description
Using the latest version of NextCloud, we discovered a problem that might be a bug.
We're using a CSV file to import our users into the system, via a small bash script that we created.
#!/bin/bash
USERS_CSV="$HOME/nextcloud-users.csv"
OCC="$HOME/public_html/occ"
OLDIFS=$IFS
IFS=","
while read username password displayName email group
do
export OC_PASS=$password
echo "Adding user ${username} (${displayName} | ${password} | ${group})..."
$OCC user:add --password-from-env --display-name "$displayName" --group "$group" "$username"
echo "Setting ${username}'s email to ${email}..."
$OCC user:setting "$username" settings email "$email"
done < $USERS_CSV
IFS=$OLDIFS
This works great, and all users from the CSV file are added. However, none of them receive the "Welcome" email inviting them to set / reset their password.
stefan-niedermann, desperateCoder and lbossledesperateCoder
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of26-feedbackbugenhancementfeature: emailsfeature: occfeature: users and groupsgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.