mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-29 17:04:13 +00:00 
			
		
		
		
	store the hashed accessKey in the database
This commit is contained in:
		
							parent
							
								
									b50afb69d5
								
							
						
					
					
						commit
						ca668c78e8
					
				| @ -11,7 +11,7 @@ describe('API Token Controller', () => { | |||||||
|       type: 'read-only', |       type: 'read-only', | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     test('Fails if API Token already exist', async () => { |     test('Fails if API Token already exists', async () => { | ||||||
|       const exists = jest.fn(() => true); |       const exists = jest.fn(() => true); | ||||||
|       const badRequest = jest.fn(); |       const badRequest = jest.fn(); | ||||||
|       const ctx = createContext({ body }, { badRequest }); |       const ctx = createContext({ body }, { badRequest }); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dieter Stinglhamber
						Dieter Stinglhamber