ui: Fix email-validation referal
Some checks are pending
continuous-integration/drone/push Build is running
Some checks are pending
continuous-integration/drone/push Build is running
This commit is contained in:
parent
44e94004c5
commit
6a804323c3
@ -95,9 +95,7 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
if (this.$route.query.u) {
|
if (this.$route.query.u) {
|
||||||
axios
|
axios
|
||||||
.post('/api/users/' + encodeURIComponent(btoa(this.$route.query.u.match(/\w{2}/g).map(function (a) {
|
.post('/api/users/' + encodeURIComponent(this.$route.query.u) + '/email', {
|
||||||
return String.fromCharCode(parseInt(a, 16))
|
|
||||||
}).join(''))) + '/email', {
|
|
||||||
key: this.$route.query.k
|
key: this.$route.query.k
|
||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user