File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,4 +21,6 @@ docker-compose.yml
2121docker-compose-toolbox.yml
2222docker-compose-traefik.yml
2323docker-compose-traefik-letsencrypt.yml
24- .nyc_output
24+ .nyc_output
25+ .scannerwor
26+ test
Original file line number Diff line number Diff line change @@ -1202,7 +1202,7 @@ export class Message {
12021202 let type : tokenType = "local" ;
12031203 try {
12041204 msg = SigninMessage . assign ( this . data ) ;
1205- const originialjwt = msg . jwt ;
1205+ let originialjwt = msg . jwt ;
12061206 let tuser : TokenUser = null ;
12071207 let user : User = null ;
12081208 if ( ! NoderedUtil . IsNullEmpty ( msg . jwt ) ) {
@@ -1291,8 +1291,10 @@ export class Message {
12911291 const userid : string = user . _id ;
12921292 if ( msg . longtoken ) {
12931293 msg . jwt = Crypt . createToken ( tuser , Config . longtoken_expires_in ) ;
1294+ originialjwt = msg . jwt ;
12941295 } else {
12951296 msg . jwt = Crypt . createToken ( tuser , Config . shorttoken_expires_in ) ;
1297+ originialjwt = msg . jwt ;
12961298 }
12971299 msg . user = tuser ;
12981300 if ( ! NoderedUtil . IsNullEmpty ( user . impersonating ) && NoderedUtil . IsNullEmpty ( msg . impersonate ) ) {
You can’t perform that action at this time.
0 commit comments