IbrahimNour пре 8 месеци
родитељ
комит
0738ea6c7c

+ 0 - 1
src/app/authentication/auth-sign-in/sign-in/sign-in.component.ts

@@ -45,7 +45,6 @@ export class SignInComponent extends ComponentBase implements BaseForm, OnInit {
 
   onSubmit(): void {
     if (super.submitValidity(this.form)) {
-      this.router.navigate(['/modules']);
       this.authService
         .Login(this.form.value)
         .pipe(takeUntil(this.destroy$))

+ 7 - 0
src/app/authentication/auth-sign-up/auth-sign-up.component.scss

@@ -36,6 +36,13 @@
             text-decoration: underline;
             cursor: pointer;
             font-size: 14px;
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            gap: 5px;
+            a {
+              color: $white-blue;
+            }
           }
         }
       }

+ 1 - 0
src/app/authentication/auth-sign-up/type-header/type-header.component.html

@@ -8,6 +8,7 @@
       <span class="bold">{{ typeName }} Form</span>
       <button>
         <a [routerLink]="['/auth/signUp']">Change</a>
+        <img src="../../../../assets/images/edit_icon .svg" alt="" title="" />
       </button>
     </p>
   </div>

+ 1 - 1
src/app/core/services/authentication/auth.service.ts

@@ -19,7 +19,7 @@ export class AuthService {
   constructor(private readonly apiService: ApiService) {}
 
   Login(data: LOGIN): Observable<LOGIN_RESPONSE> {
-    return this.apiService.post<LOGIN, LOGIN_RESPONSE>('/login', data);
+    return this.apiService.post<LOGIN, LOGIN_RESPONSE>('Auth/login', data);
   }
 
   ForgetPassword(data: FORGET_PASSWORD): Observable<FORGET_PASSWORD_RESPONSE> {

+ 5 - 0
src/assets/images/edit_icon .svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="13.925" height="13.592" viewBox="0 0 13.925 13.592">
+  <g id="Edit_Edit_Pencil_Line_01" data-name="Edit / Edit_Pencil_Line_01" transform="translate(-3.5 -3.912)">
+    <path id="Vector" d="M4,17H16.925M4,17V13.773l6.462-6.462M4,17H7.231l6.462-6.462M10.462,7.311,12.78,4.994h0a2,2,0,0,1,.663-.539.808.808,0,0,1,.5,0,2,2,0,0,1,.662.538L16.011,6.4a2.008,2.008,0,0,1,.54.664.808.808,0,0,1,0,.5,2,2,0,0,1-.539.664h0l-2.317,2.317M10.462,7.311l3.231,3.231" fill="none" stroke="#009fe3" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
+  </g>
+</svg>

+ 1 - 1
src/environments/environment.prod.ts

@@ -1,4 +1,4 @@
 export const environment = {
   production: true,
-  BASE_URL: 'https://sas-api.azurewebsites.net/api/sas/',
+  BASE_URL: 'https://20.83.171.3/api',
 };

+ 1 - 1
src/environments/environment.ts

@@ -4,7 +4,7 @@
 
 export const environment = {
   production: false,
-  baseURL: 'https://sas-api.azurewebsites.net/api/sas/',
+  baseURL: 'https://20.83.171.3/api',
 };
 
 /*