Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6a2b47db authored by GARNIER Laurent's avatar GARNIER Laurent
Browse files

Update __init__.py

parent 94d1ac0c
No related branches found
No related tags found
1 merge request!5Jupyter token 2021
......@@ -3,6 +3,7 @@ import os
import time
import django.utils
from django.utils.crypto import get_random_string
import requests
try:
from urllib.parse import urlparse, urlencode
......@@ -49,6 +50,11 @@ class Init:
string
allgo login page link or already initialized message
"""
user = self.request.user
if user.is_authenticated:
print("User authenticated")
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment