summaryrefslogtreecommitdiff
path: root/templates/_checked_in.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-03-03 15:05:43 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2023-03-03 15:05:43 +0100
commit2406fc4efeade10fa9836cf43dbc720d128a3ca1 (patch)
tree44286aacad42d6ce2ee18b3d9bff4518e3098195 /templates/_checked_in.html.ep
parentb725d7d52cd631f1623012f167599dc08a8639c7 (diff)
token: do not expose full checkin timestamp
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 8e1fd1d..0ead240 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -286,7 +286,7 @@
data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= $user->{name} %>/<%= $journey->{sched_departure}->epoch %>"
% }
% elsif ($journey_visibility eq 'travelynx' or $journey_visibility eq 'unlisted') {
- data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= $user->{name} %>/<%= $journey->{sched_departure}->epoch %>?token=<%= $journey->{dep_eva} %>-<%= $journey->{timestamp}->epoch %>"
+ data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= $user->{name} %>/<%= $journey->{sched_departure}->epoch %>?token=<%= $journey->{dep_eva} %>-<%= $journey->{timestamp}->epoch % 337 %>"
% }
>
<i class="material-icons left" aria-hidden="true">share</i> Teilen