diff --git a/.profile b/.profile deleted file mode 100644 index df779be..0000000 --- a/.profile +++ /dev/null @@ -1 +0,0 @@ -{'absences': 2, 'address': None, 'counselor': {'first_name': 'Sean', 'full_name': 'Sean Burke', 'id': 37, 'last_name': 'Burke', 'url': 'https://ion.tjhsst.edu/api/profile/37', 'user_type': 'counselor', 'username': 'SPBurke'}, 'display_name': 'Raffu Khondaker', 'emails': [], 'first_name': 'Raffu', 'full_name': 'Raffu Khondaker', 'grade': {'name': 'sophomore', 'number': 10}, 'graduation_year': 2022, 'id': 36508, 'ion_username': '2022rkhondak', 'is_announcements_admin': False, 'is_eighth_admin': False, 'is_student': True, 'is_teacher': False, 'last_name': 'Khondaker', 'middle_name': 'Al', 'nickname': '', 'phones': [], 'picture': 'https://ion.tjhsst.edu/api/profile/36508/picture', 'sex': 'Male', 'short_name': 'Raffu', 'title': None, 'tj_email': '2022rkhondak@tjhsst.edu', 'user_type': 'student', 'websites': []} \ No newline at end of file diff --git a/CLI/.profile b/CLI/.profile deleted file mode 100644 index e69de29..0000000 diff --git a/CLI/oauth/index.html b/CLI/oauth/index.html index 62f3082..1c8f1f3 100644 --- a/CLI/oauth/index.html +++ b/CLI/oauth/index.html @@ -14,7 +14,7 @@
- + Sign in with Ion diff --git a/CLI/skoolos.py b/CLI/skoolos.py index ccb30ef..e818d3a 100644 --- a/CLI/skoolos.py +++ b/CLI/skoolos.py @@ -52,7 +52,7 @@ def authenticate(): path = os.path.join(cdir, "chromedriver-mac") print(path) browser = webdriver.Chrome(path) - browser = webdriver.Safari() + #browser = webdriver.Safari() web_dir = os.path.join(os.path.dirname(__file__), 'oauth') os.chdir(web_dir) diff --git a/Website/skoolos/urls.py b/Website/skoolos/urls.py index 0d2bd2a..5b8da25 100644 --- a/Website/skoolos/urls.py +++ b/Website/skoolos/urls.py @@ -25,7 +25,7 @@ urlpatterns = [ path('api-auth/', include('rest_framework.urls')), path('admin/', admin.site.urls), path('login/', auth_views.LoginView.as_view(template_name='users/login.html', authentication_form=LoginForm), name='login'), - path('register/', user_views.register, name='register'), + path('', user_views.register, name='register'), path('create_account/', user_views.create_account, name='create_account'), path('callback/', user_views.callback, name='callback'), ]