Fix unsafe-eval used in 2FA admin settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
ad66b0f9ab
commit
f8579a87f5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1655
settings/js/1.js
1655
settings/js/1.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3586
settings/js/2.js
3586
settings/js/2.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2695
settings/js/3.js
2695
settings/js/3.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,13 +1,10 @@
|
|||
import Vue from 'vue'
|
||||
|
||||
import AdminTwoFactor from './components/AdminTwoFactor'
|
||||
import AdminTwoFactor from './components/AdminTwoFactor.vue'
|
||||
|
||||
__webpack_nonce__ = btoa(OC.requestToken)
|
||||
|
||||
Vue.prototype.t = t;
|
||||
|
||||
new Vue({
|
||||
el: '#two-factor-auth-settings',
|
||||
template: '<AdminTwoFactor/>',
|
||||
components: {
|
||||
AdminTwoFactor
|
||||
}
|
||||
})
|
||||
const View = Vue.extend(AdminTwoFactor)
|
||||
new View().$mount('#two-factor-auth-settings')
|
||||
|
|
|
@ -8,5 +8,5 @@ module.exports = merge(common, {
|
|||
noInfo: true,
|
||||
overlay: true
|
||||
},
|
||||
devtool: '#eval-source-map',
|
||||
devtool: 'source-map',
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue