mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-22 22:30:05 +01:00
Cleaning
This commit is contained in:
parent
5bb4ad3823
commit
fda3f75fdb
@ -23,11 +23,6 @@
|
||||
methods: {
|
||||
getOTP: function () {
|
||||
|
||||
let token = localStorage.getItem('jwt')
|
||||
|
||||
axios.defaults.headers.common['Content-Type'] = 'application/json'
|
||||
axios.defaults.headers.common['Authorization'] = 'Bearer ' + token
|
||||
|
||||
axios.get('api/twofaccounts/' + this.AccountId + '/totp').then(response => {
|
||||
let spacePosition = Math.ceil(response.data.totp.length / 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user