mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 06:32:01 +00: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