mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-17 08:42:44 +00:00
Merge pull request #4498 from jumpserver/pr@dev@feat_change_face_context_url
feat: change face context url
This commit is contained in:
commit
ec5f2e69eb
@ -225,7 +225,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
startFaceCapture() {
|
startFaceCapture() {
|
||||||
const url = '/api/v1/authentication/mfa/face/context/'
|
const url = '/api/v1/authentication/face/context/'
|
||||||
this.$axios.post(url).then(data => {
|
this.$axios.post(url).then(data => {
|
||||||
const token = data['token']
|
const token = data['token']
|
||||||
this.faceCaptureUrl = '/facelive/capture?token=' + token
|
this.faceCaptureUrl = '/facelive/capture?token=' + token
|
||||||
|
Loading…
Reference in New Issue
Block a user