Unable to verify email on private instances with open registration
Environment
- Installation type:
-
OTP -
From source
-
- Pleroma version: 2.0.5-stable
- Elixir version: 1.10.3
- Operating system: Debian 10
- PostgreSQL version: 11
Bug description
In a very rare (?) case, when instance is not public, but does allow open registrations and requires email verification, account activation fails with error 'This resource requires authentication'.
Steps to reproduce
- Ensure that
config :pleroma, :instance
has this values:
registrations_open: true,
account_activation_required: true,
public: false,
- Create new user.
- Try to verify the account.
- Verification fails.