File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 82
82
</template >
83
83
<script >
84
84
export default {
85
- mounted () {
85
+ mounted () {
86
86
this .$auth .logout ();
87
87
this .$auth .state (" /realtime-database" , " /login" ).then (user => {
88
88
if (! user) {
89
89
this .ready = false ;
90
90
}
91
91
});
92
92
},
93
- data () {
93
+ data () {
94
94
return {
95
95
snackbar: false ,
96
96
email: " " ,
@@ -108,7 +108,7 @@ export default {
108
108
},
109
109
computed: {},
110
110
methods: {
111
- login () {
111
+ login () {
112
112
this .ready = true ;
113
113
this .$auth .logout ();
114
114
this .$auth
@@ -122,7 +122,7 @@ export default {
122
122
this .error = error .message ;
123
123
});
124
124
},
125
- register () {
125
+ register () {
126
126
this .ready = true ;
127
127
this .$auth
128
128
.registerWithEmailAndPassword (this .email , this .password )
@@ -135,7 +135,7 @@ export default {
135
135
this .snackbar = true ;
136
136
});
137
137
},
138
- signInGoogle () {
138
+ signInGoogle () {
139
139
this .ready = true ;
140
140
this .$auth
141
141
.signInWithGoogle ()
@@ -152,7 +152,7 @@ export default {
152
152
this .snackbar = true ;
153
153
});
154
154
},
155
- signInFacebook () {
155
+ signInFacebook () {
156
156
this .ready = true ;
157
157
this .$auth
158
158
.signInWithFacebook ()
@@ -165,7 +165,7 @@ export default {
165
165
this .snackbar = true ;
166
166
});
167
167
},
168
- signInTwitter () {
168
+ signInTwitter () {
169
169
this .ready = true ;
170
170
this .$auth
171
171
.signInWithTwitter ()
@@ -176,7 +176,7 @@ export default {
176
176
this .snackbar = true ;
177
177
});
178
178
},
179
- signInGithub () {
179
+ signInGithub () {
180
180
this .ready = true ;
181
181
this .$auth
182
182
.signInWithGithub ()
@@ -187,7 +187,7 @@ export default {
187
187
this .snackbar = true ;
188
188
});
189
189
},
190
- clear () {
190
+ clear () {
191
191
this .$refs .form .reset ();
192
192
}
193
193
}
You can’t perform that action at this time.
0 commit comments