mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
change passwort reset link to use new frontend
This commit is contained in:
parent
92549faba4
commit
c49a55ece0
@ -84,3 +84,11 @@ std::string PageRequestMessagedHandler::getBaseUrl()
|
|||||||
}
|
}
|
||||||
return "https://" + mHost + mLoginServerPath;
|
return "https://" + mHost + mLoginServerPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string PageRequestMessagedHandler::getHost()
|
||||||
|
{
|
||||||
|
if (ServerConfig::g_ServerSetupType == ServerConfig::SERVER_TYPE_TEST) {
|
||||||
|
return "http://" + mHost;
|
||||||
|
}
|
||||||
|
return "https://" + mHost;
|
||||||
|
}
|
||||||
@ -29,6 +29,7 @@ protected:
|
|||||||
|
|
||||||
unsigned long long getLastGetAsU64(const std::string& uri);
|
unsigned long long getLastGetAsU64(const std::string& uri);
|
||||||
std::string getBaseUrl();
|
std::string getBaseUrl();
|
||||||
|
std::string getHost();
|
||||||
|
|
||||||
Profiler mTimeProfiler;
|
Profiler mTimeProfiler;
|
||||||
std::string mHost;
|
std::string mHost;
|
||||||
|
|||||||
@ -299,7 +299,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="reset-pwd-link">
|
<div class="reset-pwd-link">
|
||||||
<a href="<%= getBaseUrl() %>/resetPassword"><%= langCatalog->gettext("Passwort vergessen") %></a>
|
<a href="<%= getHost() %>/vue/password"><%= langCatalog->gettext("Passwort vergessen") %></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user