feat: use state based auth instead of store based (#488)
* misc: switch to state for auth * fix: class based auth not working
This commit is contained in:
1 parent
8c6ff77fac
commit
5651ad475d
83 files changed
+395
-469
No files matched your search
@@ -51,9 +51,6 @@
|
||||
|
||||
try {
|
||||
data.instance = data.instance.trim()
|
||||
// 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