misc: tweak error messages for login

This commit is contained in:
Xylight committed 2024-07-17 15:20:08 -07:00
1 parent 5a8499fd7b
commit 1aed9b3e48
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -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(),