Fix bad redirection URL
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2023-04-27 10:35:41 +02:00
parent 4152444a83
commit 21cc77b9c2

View File

@ -49,7 +49,7 @@ impl Provider {
/// Get the URL to use to login with the provider
pub fn login_url(&self, redirect_url: &LoginRedirect) -> String {
format!(
"/login_with_prov?id={}&redirect_url={}",
"/login_with_prov?id={}&redirect={}",
self.id_encoded(),
redirect_url.get_encoded()
)