Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VeNJOB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyen Ngoc Nghia
VeNJOB
Commits
0632d922
Commit
0632d922
authored
Dec 10, 2019
by
nnnghia98
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit text in reset mail
parent
24d336d5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
app/views/users/mailer/reset_password_instructions.html.erb
+13
-5
config/initializers/devise.rb
+1
-1
No files found.
app/views/users/mailer/reset_password_instructions.html.erb
View file @
0632d922
<p>
Hello
<%=
@resource
.
email
%>
!
</p>
<p>
Hello
<%=
@resource
.
email
%>
!
</p>
<p>
Someone has requested a link to change your password. You can do this through the link below.
</p>
<p>
We received a request to reset the password associated with this e-mail address.
If you made this request, please follow the instructions below.
</p><br>
<p>
Click the link below to reset your password using our secure server:
</p>
<p>
<%=
link_to
'Change my password'
,
edit_password_url
(
@resource
,
reset_password_token:
@token
)
%>
</p>
<p>
<%=
link_to
"Change my password"
,
edit_password_url
(
@resource
,
reset_password_token:
@token
)
%>
</p>
<br>
<p>
If you didn't request this, please ignore this email.
</p>
<p>
<p>
Your password won't change until you access the link above and create a new one.
</p>
If you did not request to have your password reset you can safely ignore this email.
Rest assured your account is safe.
</p>
<p>
Please also be noted that the above link is valid for 24 hours.
</p>
<p>
Best,
</p>
config/initializers/devise.rb
View file @
0632d922
...
@@ -18,7 +18,7 @@ Devise.setup do |config|
...
@@ -18,7 +18,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer,
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
# with default "from" parameter.
config
.
mailer_sender
=
'please-change-me-at-config-initializers-devise@example.com'
config
.
mailer_sender
=
"venjob-mailer@mail.com"
# Configure the class responsible to send e-mails.
# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'
# config.mailer = 'Devise::Mailer'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment