Open kevincrafts opened 6 days ago
There's code in user invite to make it use an existing account if one exists. I wonder what's happening here.
It looks like what's happening is when a user logs in it changes the username from their Identikey to their full name. Since the user invite module only accepts Identikeys this is a non-trivial fix unfortunately.
The development team will need to discuss this further.
The email addresses should still match though, right?
@jcsparks Email is changed to the full name version as well.
Just going off what I see on the developer sandbox, it's clearly evident which users have logged in and which haven't.
A fix for new accounts created by user invite would be to make a field and store the user's Identikey there, but it wouldn't work for the accounts which already exist on sites, or users logging in cold (without an invite).
@jacob-korf can you please log into the Developer Sandbox site : https://www.colorado.edu/developer-sandbox/
We've made a config change and want to see what happens to your account email address after you log in.
We have many users on campus who work on a large number of sites and sometimes go to log in to a site only to find out they don't have a role.
This results in them having a user account on the site, but no roles assigned.
If they were to now get an invite to the site, there will be two user accounts on the site, but they will only ever use the first one - the one without any roles assigned.
Here's an example of where Alicia logged into a site, and an invite was sent to her afterwards:
To fix this, someone needs to login and assign the proper roles to the first account and delete the second account.
Can the invite be smart enough to not create a new account where one already exists?