Commit e5224df233e19b693d822ea6d60d3121d23f747a
1 parent
d44e72af69
Exists in
master
gateway name pada title signin dan hilangkan remember me
Showing 2 changed files with 1 additions and 6 deletions Side-by-side Diff
index.js
... | ... | @@ -141,7 +141,7 @@ function submitConfigSave(req, res) { |
141 | 141 | } |
142 | 142 | |
143 | 143 | function renderLoginPage(req, res) { |
144 | - res.render('signin.html', {title: 'Signin'}); | |
144 | + res.render('signin.html', {title: config.globals.gateway_name}); | |
145 | 145 | } |
146 | 146 | |
147 | 147 | function renderConfigAskDelete(req, res) { |
views/signin.html
... | ... | @@ -34,11 +34,6 @@ |
34 | 34 | <input name="username" type="text" id="inputUsername" class="form-control" placeholder="Username" required autofocus> |
35 | 35 | <label for="inputPassword" class="sr-only">Password</label> |
36 | 36 | <input name="password" type="password" id="inputPassword" class="form-control" placeholder="Password" required> |
37 | - <div class="checkbox"> | |
38 | - <label> | |
39 | - <input type="checkbox" value="remember-me"> Remember me | |
40 | - </label> | |
41 | - </div> | |
42 | 37 | <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button> |
43 | 38 | </form> |
44 | 39 |