Skip to content

Commit

Permalink
Merge branch 'jakubknejzlik-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kagadovsky committed Sep 14, 2016
2 parents 6c54cac + ee4a07f commit dfe609e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/ng-admin.jwt-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ loginController.prototype.login = function() {

var success = this.ngAdminJWTAuthConfigurator.getLoginSuccessCallback() || function(response) {
that.notification.log(response.data.message, { addnCls: 'humane-flatty-success' });
that.$location.path('/');
that.$location.path('/dashboard');
};
var error = this.ngAdminJWTAuthConfigurator.getLoginErrorCallback() || function(response) {
that.notification.log(response.data.message, { addnCls: 'humane-flatty-error' });
Expand Down
4 changes: 2 additions & 2 deletions build/ng-admin.jwt-auth.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/loginController.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ loginController.prototype.login = function() {

var success = this.ngAdminJWTAuthConfigurator.getLoginSuccessCallback() || function(response) {
that.notification.log(response.data.message, { addnCls: 'humane-flatty-success' });
that.$location.path('/');
that.$location.path('/dashboard');
};
var error = this.ngAdminJWTAuthConfigurator.getLoginErrorCallback() || function(response) {
that.notification.log(response.data.message, { addnCls: 'humane-flatty-error' });
Expand Down

0 comments on commit dfe609e

Please sign in to comment.