mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #724 from gradido/login_change_passwort_reset_link
bugfix: change to new frontend passwort reset
This commit is contained in:
commit
582c848599
@ -83,4 +83,12 @@ std::string PageRequestMessagedHandler::getBaseUrl()
|
||||
return "http://" + 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);
|
||||
std::string getBaseUrl();
|
||||
std::string getHost();
|
||||
|
||||
Profiler mTimeProfiler;
|
||||
std::string mHost;
|
||||
|
||||
@ -299,7 +299,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user