Skip to main content

login_redirect

Function login_redirect 

Source
pub fn login_redirect(ctx: &ReqCtx) -> ApiResponse
Expand description

Redirect a blocked UI visitor to the right place: the MFA challenge when a second factor is still pending, otherwise the login page.