u
This commit is contained in:
		
							parent
							
								
									87720d48da
								
							
						
					
					
						commit
						b69c154255
					
				@ -30,6 +30,9 @@ module.exports = {
 | 
			
		||||
    if (!key) {
 | 
			
		||||
      console.warn('*** tokenkey is empty! ***')
 | 
			
		||||
    }
 | 
			
		||||
    if (!token) {
 | 
			
		||||
      return null
 | 
			
		||||
    }
 | 
			
		||||
    try {
 | 
			
		||||
      return JsonWebToken.verify(
 | 
			
		||||
        token,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user