misc: remove old import location fallback (#61362)
This commit is contained in:
parent
45f99dade4
commit
854b7b1d62
|
@ -15,16 +15,12 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from authentic2.apps.authenticators.models import BaseAuthenticator
|
||||
from authentic2.utils.misc import redirect_to_login
|
||||
from django.shortcuts import render
|
||||
from django.template.loader import render_to_string
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from mellon.utils import get_idp, get_idps
|
||||
|
||||
try:
|
||||
from authentic2.utils import redirect_to_login
|
||||
except ImportError:
|
||||
from authentic2.utils.misc import redirect_to_login
|
||||
|
||||
|
||||
class FedictAuthenticator(BaseAuthenticator):
|
||||
type = 'fedict'
|
||||
|
|
Loading…
Reference in New Issue