Reintroduce email support for login (fixes #165; reverts #e208d30513f7cfafb6405324fee5b88902dcf2fb) - 2
Change-Id: Ia145f1e47295e2e5df0248604262024f87583bab
diff --git a/dev/demo/all.html b/dev/demo/all.html
index 593efe7..7e585ee 100644
--- a/dev/demo/all.html
+++ b/dev/demo/all.html
@@ -22,7 +22,7 @@
<fieldset>
<form>
<legend><span>Anmelden</span></legend>
- <input type="text" name="handle" placeholder="Benutzername" />
+ <input type="text" name="handle_or_email" placeholder="Benutzername" />
<div>
<input type="password" name="pwd" placeholder="Passwort" />
<button type="submit"><span>Go</span></button>
diff --git a/dev/demo/sidebar-login.html b/dev/demo/sidebar-login.html
index 5d395a2..05e0608 100644
--- a/dev/demo/sidebar-login.html
+++ b/dev/demo/sidebar-login.html
@@ -21,7 +21,7 @@
<fieldset>
<form action="/user/login" method="POST">
<legend><span>Anmelden</span></legend>
- <input name="handle" placeholder="Benutzername" type="text">
+ <input name="handle_or_email" placeholder="Benutzername" type="text">
<div>
<input name="pwd" placeholder="Passwort" type="password">
<button type="submit"><span>Los!</span></button>