Major cleanup and refactoring of the backend (frontend not fully updated).
This commit is contained in:
1 parent
0cfa622bf1
commit
c5e5fe23e3
16 files changed
+451
-920
No files matched your search
@@ -22,10 +22,7 @@ export async function registerCredential() {
|
||||
return register('/auth/ws/add_credential')
|
||||
}
|
||||
export async function registerWithToken(token) {
|
||||
return register('/auth/ws/add_device_credential', { token })
|
||||
}
|
||||
export async function registerWithSession() {
|
||||
return register('/auth/ws/add_device_credential_session')
|
||||
return register('/auth/ws/add_credential', { token })
|
||||
}
|
||||
|
||||
export async function authenticateUser() {
|
||||
|
||||
Reference in new issue
Block a user