Closed Doc-Saintly closed 4 years ago
well I didn't thought about that. Since recently, we have implemented ldap authentication in mastodon_ynh so users don't have a password for mastodon, they use their yunohost login and password.
So with ldap authentication, you can't invite users to your instance, you have to create them a YunoHost User account and password account reset has to be manage using YunoHost.
The only way to manage that would be to ask during install if admin want to user ldap authentication or not.... But the goal was to have ldap authentication for apps....
Well the account creation process still seems to work. So it seems that Mastodon supports LDAP and internal auth simultaneously? I updated the configuration to disable LDAP and then the user was able to reset their password.
At least for me, I don't want to add YunoHost accounts to everyone I allow to use Mastodon on my server. Is it difficult to support mixed-mode?
Seems a bit difficult to have a mixed-mode with maybe a lot of usecase when an admin will switch from a no-ldap mastodon_ynh to an ldap mastodon...
In addition most of users won't understand a mixed mode and this will request a lot of support that I can't provide.
So If you think you can do a PR for that, feel free to reopen that issue.
Hi guys I'm having this error this chapter present the diversity of social sciences sciences
which part of .env should change??
Hi guys I'm having this error this chapter present the diversity of social sciences sciences
which part of .env should change??
Did you solve this issue for your users? Also facing the same issue
Change LDAP_ENABLED=true to LDAP_ENABLED=false in /var/www/mastodon/live/.env.production
Hi, we are facing the same issue. Is not possible to have both LDAP and internal auth enabled at the same time?
Mastodon allows users to be invited via URL. User accounts created this way cannot reset their password, they get the message:
As an admin, I don't have any further options to assist the user with resetting their password.