Loading lib/Travelynx/Controller/Traveling.pm +2 −2 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ sub status_token_ok { $ts2 //= $ts2_ext; if ( $eva == $status->{dep_eva} and $ts == $status->{timestamp}->epoch and $ts == $status->{timestamp}->epoch % 337 and $ts2 == $status->{sched_departure}->epoch ) { return 1; Loading @@ -491,7 +491,7 @@ sub journey_token_ok { $ts2 //= $ts2_ext; if ( $eva == $journey->{from_eva} and $ts == $journey->{checkin_ts} and $ts == $journey->{checkin_ts} % 337 and $ts2 == $journey->{sched_dep_ts} ) { return 1; Loading templates/_checked_in.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading templates/journey.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,7 @@ data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>" % } % else { data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>?token=<%= $journey->{from_eva} %>-<%= $journey->{checkin_ts} %>-<%= $journey->{sched_dep_ts} %>" data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>?token=<%= $journey->{from_eva} %>-<%= $journey->{checkin_ts} % 337 %>-<%= $journey->{sched_dep_ts} %>" % } data-text="<%= stash('share_text') %>" > Loading Loading
lib/Travelynx/Controller/Traveling.pm +2 −2 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ sub status_token_ok { $ts2 //= $ts2_ext; if ( $eva == $status->{dep_eva} and $ts == $status->{timestamp}->epoch and $ts == $status->{timestamp}->epoch % 337 and $ts2 == $status->{sched_departure}->epoch ) { return 1; Loading @@ -491,7 +491,7 @@ sub journey_token_ok { $ts2 //= $ts2_ext; if ( $eva == $journey->{from_eva} and $ts == $journey->{checkin_ts} and $ts == $journey->{checkin_ts} % 337 and $ts2 == $journey->{sched_dep_ts} ) { return 1; Loading
templates/_checked_in.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
templates/journey.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,7 @@ data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>" % } % else { data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>?token=<%= $journey->{from_eva} %>-<%= $journey->{checkin_ts} %>-<%= $journey->{sched_dep_ts} %>" data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>?token=<%= $journey->{from_eva} %>-<%= $journey->{checkin_ts} % 337 %>-<%= $journey->{sched_dep_ts} %>" % } data-text="<%= stash('share_text') %>" > Loading