Store user id/secret in session upon login (#61)
History table uses session's user_id instead of secret in URL.
This commit is contained in:
@@ -10,6 +10,7 @@ urlpatterns = [
|
||||
name='display_genre_graph'),
|
||||
path('audio_features/<str:user_secret>', display_features_graphs,
|
||||
name='display_audio_features'),
|
||||
path('history/<str:user_secret>', display_history_table,
|
||||
name='display_history_table'),
|
||||
# path('history/<str:user_secret>', display_history_table,
|
||||
# name='display_history_table'),
|
||||
path('history/', display_history_table, name='display_history_table'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user