Can't login with username, only email address
-
On a new Mastodon Cloudron instance, I've created a new admin user through the web interface (well, new user via web, then promoted to admin using tootctl), but can only log in using the email address, not the username (have tried "username", "@username", and "@username@url" to no avail) - gives an "Invalid E-mail address or password" error (but doesn't mention username).
-
-
@nebulon Under Access Control/User management it states "This app is configured to authenticate with the Cloudron User Directory. This setting controls who can log in and use the app." and set for "Allow all users from this Cloudron" - so perhaps I've chosen the wrong option on install (if I want to allow any users to sign up w/o registering in Cloudron)?
-
@ericyu00 indeed, if you want to add users within the app itself, then you have to reinstall the instance without Cloudron usermangement. If you just want to make an existing Cloudron user an admin within mastodon, then follow the step from https://docs.cloudron.io/apps/mastodon/#admin
-
@nebulon said in Can't login with username, only email address:
if you want to add users within the app itself, then you have to reinstall the instance without Cloudron usermangement
In my experience at present non-Cloudron users can register just fine with Cloudron user management enabled, they just can't reset their pw https://forum.cloudron.io/post/55988
-
-
@girish Oh, I guess I wasn't getting your original point that "for external users, they can only login with email" and that being an "upstream issue" which I assume you mean the packaging configuration? Because yes, I've re-installed the app with the "Leave user management to the app" option selected, but yes those users can only log in via email address (which isn't optimal for a more public server setup). Any way to manually tweak a config to allow for username-based login?
-
@girish Ohhh hmmm, I thought for sure I was able to log into other Mastodon instances using username only, but I must have been mistaken and/or confused with the original Cloudron install setup I had. Preferred this way if this is standard/OOB Mastodon user auth setup, so thanks again.