Adjust user signup feedback

This commit is contained in:
Matt-Yorkley
2017-08-15 13:26:51 +01:00
committed by Rob Harrington
parent 7d971fc39d
commit 28ded1f0c2
4 changed files with 7 additions and 3 deletions

View File

@@ -10,4 +10,4 @@ Darkswarm.controller "LoginCtrl", ($scope, $http, $window, AuthenticationService
$window.location.href = $window.location.origin + $window.location.pathname # Strips out hash fragments
.error (data) ->
Loading.clear()
$scope.errors = data.message
$scope.errors = data.message || data.error