Email sign in (#13)

polished via-email component
used state to track email and password.
explicitly did not put email and password in value of the appropriate input fields because that is not necessary nor do we want to write the clear text password into the dom

Signed-off-by: Philip Molares <philip.molares@udo.edu>
(cherry picked from commit c5f5956b8d8bb02553f85443f8b04acbf0c31f2b)
This commit is contained in:
Philip Molares 2020-05-15 20:38:38 +02:00 committed by Tilman Vatteroth
parent 93ce059577
commit 41f969fda6
No known key found for this signature in database
GPG key ID: DEBDB3F34641B019
7 changed files with 71 additions and 24 deletions

View file

@ -10,7 +10,7 @@
"google": false,
"saml": false,
"oauth2": false,
"email": false
"email": true
},
"specialLinks": {
"privacy": "test",

View file

@ -118,5 +118,9 @@
"poweredBy": "Betrieben mit <0></0>",
"Help us translating": "Hilf uns beim Übersetzen",
"Join the community": "Tritt der Community bei",
"imprint": "Impressum"
"imprint": "Impressum",
"errorEmailLogin": "E-Mail oder Passwort nicht korrekt",
"errorLdapLogin": "Benutzername oder Passwort nicht korrekt",
"email": "E-Mail",
"password": "Passwort"
}

View file

@ -118,5 +118,9 @@
"poweredBy": "Powered by <0></0>",
"Help us translating": "Help us translating",
"Join the community": "Join the community",
"imprint": "Imprint"
"imprint": "Imprint",
"errorEmailLogin": "Invalid email or password",
"errorLdapLogin": "Invalid username or password",
"email": "Email",
"password": "Password"
}

View file

@ -1,6 +1,6 @@
{
"id": "mockUser",
"photo": "https://robohash.org/testy.png",
"name": "Test",
"status": "ok"
}
"id": "mockUser",
"photo": "https://robohash.org/testy.png",
"name": "Test",
"status": "ok"
}