sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

Users Datasource: adding a user always approves the user even if you pass "Approved=false" #236

Open Timo-Breumelhof opened 2 months ago

Timo-Breumelhof commented 2 months ago

See:

https://github.com/sachatrauwaen/OpenContent/blob/dca3dfda2a6e17aa50c24ea152afaf06b8521843/OpenContent/Components/Datasource/DnnUsersDataSource.cs#L252

It would be better IMO if this would use the passed Approved value when it's passed from the edit form. Set Approved to True if not defined