Closed anchit-chandran closed 1 month ago
Got working with help of @eatyourpeas thanks!
When in local development (settings.DEBUG=True), bypass the 2FA token step on login.
settings.DEBUG=True
This improves the developer experience.
npda
LoginAndOTPRequired
login_and_otp_required
.post()
RCPCHLoginView
Got working with help of @eatyourpeas thanks!
Overview
When in local development (
settings.DEBUG=True
), bypass the 2FA token step on login.This improves the developer experience.
Code changes
npda
app to only use 2FA / custom auth urlsLoginAndOTPRequired
andlogin_and_otp_required
mixin&decorator.post()
method of theRCPCHLoginView
class to skip past the normal auth workflow if in debug modeDocumentation changes (done or required as a result of this PR)
Related Issues
40
Mentions