Fix error code

This commit is contained in:
Girish Ramakrishnan
2018-09-10 11:22:29 -07:00
parent 0f5c290785
commit 0373d86349

View File

@@ -273,7 +273,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
if (error) {
$scope.appstoreLogin.busy = false;
if (error.statusCode === 406) {
if (error.statusCode === 424) {
if (error.message === 'wrong user') {
$scope.appstoreLogin.error.generic = 'Wrong cloudron.io account';
$scope.appstoreLogin.email = '';