Project

General

Profile

Feature #591

closed

reset password link should be parametrized by application context variable

Added by Miroslav Blaško about 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Start date:
16.04.2018
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

Application context should not be hard-coded within the app:
eInvitationContent=<div><p>Hello {{name}}, </p><p>you have been invited to study. </p><p>Your username is: {{username}}. </p>\ <p>Please set your password here: http://localhost:8080/#/login/password-reset/{{token}} </p><p>Your, <br>StudyManager</p></div>

Instead of http://localhost:8080/study-manager use an variable {{appContext}}.

See https://stackoverflow.com/questions/12236590/retrieving-the-servlet-context-path-from-a-spring-web-application

Also available in: Atom PDF