no message
This commit is contained in:
parent
37ae617dfa
commit
abc114b8ab
|
@ -6,8 +6,7 @@
|
|||
##########################Persistence##########################################
|
||||
database.driver-class-name=org.postgresql.Driver
|
||||
database.url = jdbc:postgresql://develdb1.madgik.di.uoa.gr:5432/dmptool
|
||||
database.username = dmptool
|
||||
database.password = dmpt00lu$r
|
||||
|
||||
##########################/Persistence##########################################
|
||||
|
||||
###################Allowed Proxy Service Host ############################
|
||||
|
@ -18,8 +17,7 @@ configuration.externalUrls = file:///C:\\Users\\ikalyvas\\Documents\\Projects\\O
|
|||
########################/Email#############################
|
||||
spring.mail.default-encoding=UTF-8
|
||||
spring.mail.host=smtp.gmail.com
|
||||
spring.mail.username=kalivasioan@gmail.com
|
||||
spring.mail.password=A3b*1*92
|
||||
|
||||
spring.mail.port=587
|
||||
spring.mail.protocol=smtp
|
||||
spring.mail.test-connection=false
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { HttpClient } from '@angular/common/http';
|
||||
import { Component, OnInit, ElementRef, AfterViewInit, VERSION, Injectable } from '@angular/core';
|
||||
import { Component, OnInit, ElementRef, AfterViewInit, VERSION, Injectable, NgZone } from '@angular/core';
|
||||
import { Router, ActivatedRoute, Params } from "@angular/router";
|
||||
import { MatPaginator, MatSort, MatSnackBar } from "@angular/material";
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
|
@ -21,7 +21,9 @@ export class LoginComponent implements OnInit {
|
|||
public authService: AuthService,
|
||||
public route: ActivatedRoute,
|
||||
public snackBar: MatSnackBar,
|
||||
public language: TranslateService) { }
|
||||
public language: TranslateService,
|
||||
private zone: NgZone
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
gapi.load('auth2', () => {
|
||||
|
@ -59,7 +61,7 @@ export class LoginComponent implements OnInit {
|
|||
});
|
||||
this.route.queryParams.subscribe((params: Params) => {
|
||||
let redirectUrl = params['returnUrl'] ? params['returnUrl'] : '/';
|
||||
this.router.navigate([redirectUrl]);
|
||||
this.zone.run(() => this.router.navigate([redirectUrl]));
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue