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} | ||||
|         ) | ||||
|         .then(() => { | ||||
|             dispatch(updateUser({ | ||||
|                 username, | ||||
|                 email, | ||||
|                 isGuest: false | ||||
|             })); | ||||
|             dispatch(routeActions.push('/activation')); | ||||
|         }) | ||||
|         .catch((resp) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user