Skip to content

Commit

Permalink
bugfix pin reset
Browse files Browse the repository at this point in the history
  • Loading branch information
SwenVanZanten committed Feb 5, 2021
1 parent 158b55a commit 24b2e29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/authentication/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class AuthManager {
canCancel: ['escape', 'outside'],
onCancel: closeHandler,
events: {
resetPin () {
reset () {
Log.info('user wants to reset PIN')

const options = {
Expand Down
2 changes: 1 addition & 1 deletion src/views/Authentication/AuthenticationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<b-button @click="forgotPin = false" v-html="$i18n.t('settings.cancel')">Cancel</b-button>
</div>
<div class="column is-narrow">
<b-button type="is-primary" @click="$emit('reset-pin')" :label="$i18n.t('unlock.resetPin')"/>
<b-button type="is-primary" @click="$emit('reset')" :label="$i18n.t('unlock.resetPin')"/>
</div>
</div>
</div>
Expand Down

0 comments on commit 24b2e29

Please sign in to comment.