Fix unsafe-eval used in 2FA admin settings

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2018-10-15 12:01:42 +02:00
parent ad66b0f9ab
commit f8579a87f5
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
18 changed files with 8642 additions and 771 deletions

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
settings/js/2.js.map Normal file

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

File diff suppressed because one or more lines are too long

View File

@ -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')

View File

@ -8,5 +8,5 @@ module.exports = merge(common, {
noInfo: true,
overlay: true
},
devtool: '#eval-source-map',
devtool: 'source-map',
})