Skip to content

Commit

Permalink
Remove character names from HANSCA
Browse files Browse the repository at this point in the history
This fixes an issue where characters with secret identities can
accidentally reveal their identity by using HANSCA.
nicou committed Jul 4, 2024
1 parent 658e6b1 commit a481d57
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Carousel.vue
Original file line number Diff line number Diff line change
@@ -158,10 +158,10 @@ export default {
if (pages.length == 0) {
this.$store.commit('navigator/reset')
return this.$ons.notification.alert(
`${user.full_name}, you are not authorized to use any HANSCA features.`,
`You are not authorized to use any HANSCA features.`,
{ title: 'Unauthorized', maskColor: 'rgba(255, 0, 0, 0.2)' });
}
this.$ons.notification.toast(`Welcome to HANSCA, ${user.full_name}!`, { timeout: 2500, animation: 'fall' })
this.$ons.notification.toast(`Welcome to HANSCA!`, { timeout: 2500, animation: 'fall' })
return {
carouselIndex: 0,
pages,
1 change: 0 additions & 1 deletion src/components/MedicalRecords.vue
Original file line number Diff line number Diff line change
@@ -62,7 +62,6 @@ Ready to scan another patient bio ID`;
this.query = ''
this.resultText = `MEDICAL DETAILS:

Name: ${ person.full_name }
Age: ${ 542 - person.birth_year }
Fitness level: ${ person.medical_fitness_level || 'Unknown' }
Last fitness check: ${ person.medical_last_fitness_check || 'Unknown' }

0 comments on commit a481d57

Please sign in to comment.