Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Smellswisdom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ginquin
Smellswisdom
Commits
ab113f16
Commit
ab113f16
authored
Apr 1, 2019
by
ginquin
Browse files
Options
Downloads
Patches
Plain Diff
modificado url del mensaje
parent
d8b7cb09
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/es/uva/inf/tfg/ginquin/smellswisdom/controller/RegisterController.java
+2
-2
2 additions, 2 deletions
...g/ginquin/smellswisdom/controller/RegisterController.java
with
2 additions
and
2 deletions
src/main/java/es/uva/inf/tfg/ginquin/smellswisdom/controller/RegisterController.java
+
2
−
2
View file @
ab113f16
...
@@ -91,7 +91,7 @@ public class RegisterController extends SelectorComposer<Component> {
...
@@ -91,7 +91,7 @@ public class RegisterController extends SelectorComposer<Component> {
userService
.
saveUsuario
(
user
);
userService
.
saveUsuario
(
user
);
//Parte envio de correo electrónico.
//Parte envio de correo electrónico.
String
appUrl
=
Executions
.
getCurrent
().
getContextPath
();
String
appUrl
=
Executions
.
getCurrent
().
getServerName
()+
":"
+
Executions
.
getCurrent
().
getServerPort
()+
Executions
.
getCurrent
().
getContextPath
();
confirmRegistration
(
user
,
appUrl
);
confirmRegistration
(
user
,
appUrl
);
String
messageSuccessful
=
Labels
.
getLabel
(
"register.savedinformation"
);
String
messageSuccessful
=
Labels
.
getLabel
(
"register.savedinformation"
);
...
@@ -143,7 +143,7 @@ public class RegisterController extends SelectorComposer<Component> {
...
@@ -143,7 +143,7 @@ public class RegisterController extends SelectorComposer<Component> {
SimpleMailMessage
email
=
new
SimpleMailMessage
();
SimpleMailMessage
email
=
new
SimpleMailMessage
();
email
.
setTo
(
recipient
);
email
.
setTo
(
recipient
);
email
.
setSubject
(
subject
);
email
.
setSubject
(
subject
);
email
.
setText
(
message
+
" http://
localhost:8080"
+
url
);
email
.
setText
(
message
+
" http://
"
+
url
);
mailSender
.
send
(
email
);
mailSender
.
send
(
email
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment