Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/js/public/homepage/HomepageController.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ angular.module('HomepageModule').controller('HomepageController', ['$scope', '$h

// Handle known error type(s).
// Invalid username / password combination.
if (sailsResponse.status === 400 || 404) {
if (sailsResponse.status === 400 || sailsResponse.status === 404) {
// $scope.loginForm.topLevelErrorMessage = 'Invalid email/password combination.';
//
toastr.error('Invalid email/password combination.', 'Error', {
Expand Down
2 changes: 1 addition & 1 deletion assets/js/public/signup/SignupController.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ angular.module('SignupModule').controller('SignupController', ['$scope', '$http'

// Handle known error type(s).
// Invalid username / password combination.
if (sailsResponse.status === 400 || 404) {
if (sailsResponse.status === 400 || sailsResponse.status === 404) {
// $scope.loginForm.topLevelErrorMessage = 'Invalid email/password combination.';
//
toastr.error('Invalid email/password combination.', 'Error', {
Expand Down