Mit Email und Passwort registrieren
Leitet noch nicht auf / weiter Setzt dem User kein Bild und keinen Namen
This commit is contained in:
@ -43,8 +43,8 @@ window.onload = function () {
|
||||
var vue = new Vue({
|
||||
el: '#vue-app',
|
||||
data: {
|
||||
email: "",
|
||||
password: ""
|
||||
email: "",
|
||||
password: ""
|
||||
},
|
||||
methods: {
|
||||
login() {
|
||||
@ -70,10 +70,10 @@ var vue = new Vue({
|
||||
|
||||
});
|
||||
},
|
||||
loginemail(){
|
||||
firebase.auth().signInWithEmailAndPassword(this.email, this.password).then(result =>{
|
||||
loginemail() {
|
||||
firebase.auth().signInWithEmailAndPassword(this.email, this.password).then(result => {
|
||||
checkAuth();
|
||||
}).catch(function(error) {
|
||||
}).catch(function (error) {
|
||||
// Handle Errors here.
|
||||
var errorCode = error.code;
|
||||
var errorMessage = error.message;
|
||||
|
Reference in New Issue
Block a user