Fix typo
This commit is contained in:
parent
806a085c97
commit
feb6db09b9
@ -30,7 +30,7 @@ impl TwoFactor {
|
||||
|
||||
pub fn login_url(&self, redirect_uri: &LoginRedirect) -> String {
|
||||
match self.kind {
|
||||
TwoFactorType::TOTP(_) => format!("/2fa_otp?id={}&redirect_uri={}",
|
||||
TwoFactorType::TOTP(_) => format!("/2fa_otp?id={}&redirect={}",
|
||||
self.id.0, redirect_uri.get_encoded())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user