File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -53,17 +53,19 @@ export class NavbarComponent implements OnInit {
5353 const body = { action : 'logout' } ;
5454 let self = this ;
5555 this . applicationService . getResponse ( 'logout' , function ( ) {
56- self . applicationService . auth_user = {
57- user_id :0 ,
58- username :"" ,
59- passwd :"" ,
60- logged :false ,
61- is_super_admin :false ,
62- is_cert_admin :false ,
63- is_app_admin :false ,
64- need_modify_pwd :false } ;
65- self . router . navigate ( [ '/login' ] ) ;
56+ //
6657 } , null , null ) ;
58+ self . applicationService . auth_user = {
59+ user_id :0 ,
60+ username :"" ,
61+ passwd :"" ,
62+ logged :false ,
63+ is_super_admin :false ,
64+ is_cert_admin :false ,
65+ is_app_admin :false ,
66+ need_modify_pwd :false
67+ } ;
68+ self . router . navigate ( [ '/login' ] ) ;
6769 }
6870
6971}
You can’t perform that action at this time.
0 commit comments