login form: set method='POST' & remove dymamic calculating of input

fields, since we now have the facebook button #1464 #1446 #1246
This commit is contained in:
Tyler Renelle 2013-09-08 22:49:13 -04:00
parent 55dffcc317
commit 9690c7112f

View file

@ -39,11 +39,11 @@ block content
.tab-content
.tab-pane.active#login-tab
form(ng-submit='auth()')
form(ng-submit='auth()', method='POST')
.control-group
input(type='text', ng-model='loginUsername', placeholder='{{useUUID ? "UUID" : "Username"}}')
input(type='text', ng-model='loginUsername', placeholder='Username')
.control-group
input(type='{{useUUID ? "text" : "password"}}', ng-model='loginPassword', placeholder='{{useUUID ? "API Token" : "Password"}}')
input(type='password', ng-model='loginPassword', placeholder='Password')
//-.control-group
label.checkbox
input(type='checkbox', ng-click='useUUID = !useUUID')