Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Security issue in MS IE
  • Loading branch information
jmirc committed May 1, 2014
1 parent 2287581 commit 9e14c6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/templates/src/main/webapp/scripts/_services.js
Expand Up @@ -118,6 +118,7 @@
Account.get(function(data) {
Session.create(data.login, data.firstName, data.lastName, data.email, data.roles);
$cookieStore.put('account', JSON.stringify(Session));
$rootScope.account = Session;
authService.loginConfirmed(data);
});
}).error(function (data, status, headers, config) {
Expand Down
8 changes: 5 additions & 3 deletions app/templates/src/main/webapp/views/login.html
Expand Up @@ -18,9 +18,11 @@ <h1 translate="login.title">Authentication</h1>
ng-model="password">
</div>
<div class="form-group">
<label for="rememberMe" translate="login.form.rememberme">Automatic login</label>
<input type="checkbox" class="form-control" id="rememberMe"
ng-model="rememberMe" checked>
<label for="rememberMe">
{{"login.form.rememberme" | translate}}
<input type="checkbox" class="checkbox inline_class" id="rememberMe"
ng-model="rememberMe" checked>
</label>
</div>
<button type="submit" class="btn btn-primary" ng-click="login()" translate="login.form.button">Authenticate</button>
</form>
Expand Down

0 comments on commit 9e14c6a

Please sign in to comment.