mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	jwt токен после успешной авторизации
This commit is contained in:
		| @@ -77,11 +77,13 @@ export function activate({key = ''}) { | |||||||
|             '/api/signup/confirm', |             '/api/signup/confirm', | ||||||
|             {key} |             {key} | ||||||
|         ) |         ) | ||||||
|         .then(() => { |         .then((resp) => { | ||||||
|             dispatch(updateUser({ |             dispatch(updateUser({ | ||||||
|                 isActive: true |                 isActive: true | ||||||
|             })); |             })); | ||||||
|  |  | ||||||
|  |             dispatch(authenticate(resp.jwt)); | ||||||
|  |  | ||||||
|             dispatch(redirectToGoal()); |             dispatch(redirectToGoal()); | ||||||
|         }) |         }) | ||||||
|         .catch((resp) => { |         .catch((resp) => { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user