feat: add username-password login flow via authentik token endpoint
This commit is contained in:
4
src/api/auth.js
Normal file
4
src/api/auth.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import { userHttp } from './http'
|
||||
|
||||
export const loginWithPassword = (username, password) =>
|
||||
userHttp.post('/auth/login', { username, password })
|
||||
Reference in New Issue
Block a user