misc: tweak error messages for login
This commit is contained in:
1 parent
5a8499fd7b
commit
1aed9b3e48
2 files changed
+5
-5
No files matched your search
@@ -34,9 +34,9 @@
|
||||
|
||||
try {
|
||||
data.instance = data.instance.trim()
|
||||
if (!(await validateInstance(data.instance))) {
|
||||
throw new Error('Failed to contact that instance. Is it down?')
|
||||
}
|
||||
// if (!(await validateInstance(data.instance))) {
|
||||
// throw new Error('Failed to contact that instance. Is it down?')
|
||||
// }
|
||||
|
||||
const response = await getClient(data.instance).login({
|
||||
username_or_email: data.username.trim(),
|
||||
|
||||
Reference in new issue
Block a user