diff --git a/angular/src/app/presentation-options/default-option/pages/login/login.component.html b/angular/src/app/presentation-options/default-option/pages/login/login.component.html
index 90d3211..49318f8 100644
--- a/angular/src/app/presentation-options/default-option/pages/login/login.component.html
+++ b/angular/src/app/presentation-options/default-option/pages/login/login.component.html
@@ -32,6 +32,11 @@
+
+ Используя приложение, вы принимаете условия
+ соглашения и соглашаетесь на получение рекламно-информационных
+ сообщений
+
diff --git a/angular/src/app/presentation-options/default-option/pages/login/login.component.scss b/angular/src/app/presentation-options/default-option/pages/login/login.component.scss
index a508c7b..51336ef 100644
--- a/angular/src/app/presentation-options/default-option/pages/login/login.component.scss
+++ b/angular/src/app/presentation-options/default-option/pages/login/login.component.scss
@@ -14,6 +14,12 @@
left: 50%;
transform: translate(-50%, -50%);
}
+ .agree-info {
+ text-align: center;
+ margin: 0 auto;
+ margin-top: 40px;
+ max-width: 80%;
+ }
.logo {
text-align: center;
margin-bottom: 40px;
diff --git a/angular/src/app/services/auth.service.ts b/angular/src/app/services/auth.service.ts
index a89351b..21dc06b 100644
--- a/angular/src/app/services/auth.service.ts
+++ b/angular/src/app/services/auth.service.ts
@@ -172,33 +172,16 @@ export class AuthService {
false
)
.subscribe({
- next: (result) => {
+ next: async (result) => {
if (result.code === 0) {
this.cookiesService.setCookie('token', result?.data?.token);
- this.jsonrpc.rpc(
- {
- method: 'updateAdditionalInfo',
- params: [
- {
- first_name: name,
- birth_day: '01.01.1999'
- },
- ],
- },
- RpcService.authService,
- true
- ).subscribe({
- next: async () => {
- this.router.navigate(['/']);
- await this.getUserInfo();
- if(getTypeDevice() === DeviceType.ios) {
- this.appleWalletService.addCardToWallet();
- }
- },
- error: (err) => {
- console.error(err);
- },
- })
+ this.router.navigate(['/']);
+
+ await this.getUserInfo();
+
+ if(getTypeDevice() === DeviceType.ios) {
+ this.appleWalletService.addCardToWallet();
+ }
} else if (result.code === 230) {
this.messageService.clear();
this.messageService.add({