Browse Source
Merge pull request #70 from ExtProjNomit/quickfix-login
added hide modal on shared services
pull/146/head
Mohammed Tantawy
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/assets/scripts/app/shared.service.js
|
|
|
@ -15,6 +15,7 @@ const UserService = ($cookies, $rootScope, $location) => { |
|
|
|
if(typeof $cookies.get('access_token') !== 'undefined') |
|
|
|
{ |
|
|
|
$rootScope.$broadcast('loadUserSuccess', parseJwt( $cookies.get('access_token') )); |
|
|
|
$('#modalLoginForm').modal('hide'); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
|