mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	Добавил костыльчик, что бы после реги юзер тоже был якобы авторизированным
This commit is contained in:
		| @@ -50,6 +50,11 @@ export function register({ | |||||||
|             {email, username, password, rePassword, rulesAgreement} |             {email, username, password, rePassword, rulesAgreement} | ||||||
|         ) |         ) | ||||||
|         .then(() => { |         .then(() => { | ||||||
|  |             dispatch(updateUser({ | ||||||
|  |                 username, | ||||||
|  |                 email, | ||||||
|  |                 isGuest: false | ||||||
|  |             })); | ||||||
|             dispatch(routeActions.push('/activation')); |             dispatch(routeActions.push('/activation')); | ||||||
|         }) |         }) | ||||||
|         .catch((resp) => { |         .catch((resp) => { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user