ui: Fix email-validation referal
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
nemunaire 2022-03-30 19:26:49 +02:00
parent 44e94004c5
commit 6a804323c3

View File

@ -95,9 +95,7 @@ export default {
mounted () {
if (this.$route.query.u) {
axios
.post('/api/users/' + encodeURIComponent(btoa(this.$route.query.u.match(/\w{2}/g).map(function (a) {
return String.fromCharCode(parseInt(a, 16))
}).join(''))) + '/email', {
.post('/api/users/' + encodeURIComponent(this.$route.query.u) + '/email', {
key: this.$route.query.k
})
.then(