Remove nonfunctional element on login page

This commit is contained in:
Omar Roth 2018-04-01 10:01:34 -05:00
parent 172fc72fa9
commit 29545a7a6f
2 changed files with 0 additions and 5 deletions

View file

@ -377,7 +377,6 @@ end
post "/login" do |env|
email = env.params.body["email"]?
password = env.params.body["password"]?
remember = env.params.body["remember"]? || "false"
begin
client = make_client(LOGIN_URL)

View file

@ -16,10 +16,6 @@
<label for="password">Password</label>
<input class="pure-input-1" name="password" type="password" placeholder="Password">
<label for="remember" class="pure-checkbox">
<input id="remember" name="remember" type="checkbox"> Remember me
</label>
<button type="submit" class="pure-button pure-button-primary">Sign in</button>
</fieldset>
</form>