mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 09:55:50 +01:00
Feature: Add login-form with error-handling
This commit is contained in:
committed by
Isaac Bythewood
parent
58a0b663aa
commit
5d86ef1e1d
@@ -55,7 +55,7 @@ const User = {
|
||||
},
|
||||
(error) => {
|
||||
console.log('Failed to log in due to unexpected error:', error);
|
||||
reject(error);
|
||||
reject(error.response);
|
||||
},
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user