Sfoglia il codice sorgente

initial registration with email verification

Jonathan Hinds 5 anni fa
parent
commit
a58b96ab0e

+ 9
- 4
src/main/resources/config/application-dev.yml Vedi File

@@ -69,10 +69,15 @@ spring:
69 69
     liquibase:
70 70
         contexts: dev
71 71
     mail:
72
-        host: localhost
73
-        port: 25
74
-        username:
75
-        password:
72
+        host: smtp.gmail.com
73
+        port: 587
74
+        username: faebooreg@gmail.com
75
+        password: FaeBooBuzzK1ll!
76
+        protocol: smtp
77
+        properties.mail.smtp:
78
+            auth: true
79
+            starttls.enable: true
80
+            ssl.trust: smtp.gmail.com
76 81
     messages:
77 82
         cache-duration: PT1S # 1 second, see the ISO 8601 standard
78 83
     thymeleaf:

+ 1
- 0
src/main/webapp/app/account/register/register.component.ts Vedi File

@@ -39,6 +39,7 @@ export class RegisterComponent implements OnInit, AfterViewInit {
39 39
     }
40 40
 
41 41
     register() {
42
+        console.log('Register');
42 43
         if (this.registerAccount.password !== this.confirmPassword) {
43 44
             this.doNotMatch = 'ERROR';
44 45
         } else {