Feature: Add login-form with error-handling

This commit is contained in:
winkidney
2019-11-29 17:25:37 +08:00
committed by Isaac Bythewood
parent 58a0b663aa
commit 5d86ef1e1d
3 changed files with 113 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ const User = {
},
(error) => {
console.log('Failed to log in due to unexpected error:', error);
reject(error);
reject(error.response);
},
);
},