Skip to content

Commit 0faed52

Browse files
committed
FIX: Do not send console log
FIX: Password Visible Icon
1 parent 5d9d7c2 commit 0faed52

File tree

4 files changed

+636
-34
lines changed

4 files changed

+636
-34
lines changed

src/middleware/authenticated.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ export default ({ req, redirect }) => {
88
.auth()
99
.verifyIdToken(token)
1010
.then(() => {})
11-
.catch((error) => {
12-
console.error(error)
11+
.catch(() => {
1312
redirect('/account/login')
1413
})
1514
} else {

src/pages/account/login.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616
/>
1717
<v-text-field
1818
v-model="password"
19-
:append-icon="
20-
show_password ? 'mdi-visibility' : 'mdi-visibility_off'
21-
"
19+
:append-icon="show_password ? 'mdi-eye' : 'mdi-eye-off'"
2220
:type="show_password ? 'text' : 'password'"
2321
:counter="32"
24-
label="password"
22+
label="Password"
2523
outlined
2624
dark
2725
prepend-icon="mdi-lock"

src/store/modules/class.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export const mutations = {
3333

3434
export const actions = {
3535
async loadClassData({ dispatch, state }, classId) {
36-
console.log(classId)
3736
const classDataSnapshot = await firebase
3837
.firestore()
3938
.collection('classData')

0 commit comments

Comments
 (0)