#NEWLINE# def authenticate( self , request ) : #NEWLINE# #INDENT# user_auth_tuple = super ( OSFBasicAuthentication , self ) . authenticate ( request ) #NEWLINE# if ( user_auth_tuple is not None ) : #NEWLINE# #INDENT# self . authenticate_twofactor_credentials ( user_auth_tuple [ 0 ] , self ) #NEWLINE# #UNINDENT# return user_auth_tuple