Save session for 30 days with "Remember Me" checked

This commit is contained in:
JonnyWong16 2016-04-23 11:18:52 -07:00
parent e99bc73e46
commit 9fcd0da83d
4 changed files with 17 additions and 19 deletions

View file

@ -1016,7 +1016,7 @@ a:hover .dashboard-recent-media-cover {
font-size: 13px;
font-weight: bold;
margin: 0;
line-height: 15px;
line-height: 16px;
width: 150px;
white-space: nowrap;
text-align: left;
@ -1505,7 +1505,7 @@ a:hover .item-children-poster {
font-size: 13px;
font-weight: bold;
margin: 0;
line-height: 15px;
line-height: 16px;
white-space: nowrap;
text-align: left;
clear: both;
@ -2898,11 +2898,7 @@ a.no-highlight:hover {
text-shadow: 0 -1px 1px rgba(0,0,0,.4),0 0 15px rgba(0,0,0,.2);
}
.login-container .remember-group {
display: block;
min-height: 24px;
margin-top: 10px;
margin-bottom: 10px;
vertical-align: middle;
float: left;
color: #999;
}
.login-container .remember-group .control-label {

View file

@ -42,12 +42,12 @@
<input type="password" id="password" name="password" class="form-control">
</div>
<div class="form-footer">
<button type="submit" class="btn btn-bright login-button"><i class="fa fa-sign-in"></i>&nbsp; Sign In</button>
<div class="remember-group">
<label class="control-label">
<input type="checkbox" id="remember_me" name="remember_me" title="for 30 days" value=1 checked="checked" /> Remember me
<input type="checkbox" id="remember_me" name="remember_me" title="for 30 days" value="1" checked="checked" /> Remember me
</label>
</div>
<button type="submit" class="btn btn-bright login-button"><i class="fa fa-sign-in"></i>&nbsp; Sign In</button>
</div>
</form>
</div>