Skip to content

Commit 5a3b5a5

Browse files
author
Cihad Tekin
committed
[2FA] changed the location of secret_code reset
1 parent 3d528b2 commit 5a3b5a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/two-factor-auth/frontend/public/javascripts/countly.views.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ var TwoFAUser = countlyVue.views.create({
2727
},
2828
methods: {
2929
onChange: function(value) {
30-
this.secret_code = null;
3130
if (value) {
3231
this.dataModal.showDialog = true;
3332
this.getQRCode();
@@ -127,6 +126,7 @@ var TwoFAUser = countlyVue.views.create({
127126
getQRCode() {
128127
this.qrcode_html = null;
129128
this.secret_token = null;
129+
this.secret_code = null;
130130
$.ajax({
131131
type: "GET",
132132
url: countlyCommon.API_PARTS.data.w + '/two-factor-auth',

0 commit comments

Comments
 (0)