mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix SYWEB-109 : No error if HS rejects the username in registration.
Display all error messages from the server when registering, rather than just the types of errors the client recognises.
This commit is contained in:
parent
f3bb3943c9
commit
6603e39e6a
@ -140,6 +140,9 @@ angular.module('RegisterController', ['matrixService'])
|
||||
$scope.feedback = "Captcha is required on this home " +
|
||||
"server.";
|
||||
}
|
||||
else if (error.data.error) {
|
||||
$scope.feedback = error.data.error;
|
||||
}
|
||||
}
|
||||
else if (error.status === 0) {
|
||||
$scope.feedback = "Unable to talk to the server.";
|
||||
|
Loading…
Reference in New Issue
Block a user