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', | ||||
|             {key} | ||||
|         ) | ||||
|         .then(() => { | ||||
|         .then((resp) => { | ||||
|             dispatch(updateUser({ | ||||
|                 isActive: true | ||||
|             })); | ||||
|  | ||||
|             dispatch(authenticate(resp.jwt)); | ||||
|  | ||||
|             dispatch(redirectToGoal()); | ||||
|         }) | ||||
|         .catch((resp) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user