Generate an error message if an external auth username is already in use.
If changing authentication method, or authentication username for a user and that username is already in use within that auth method, Mahara was hitting an unrecoverable error because of unique constraints in the database. Adding this to the validation stage give sa much more appropriate error message. Signed-off-by: Andrew Robert Nicols <email@example.com>
Showing with 17 additions and 0 deletions