Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Google API Authentification. Auth via key supported #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions web/creds-sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
$auth_user = ''; //Sample: 'torque'
$auth_pass = ''; //Sample: 'open'

// Google API Key for Google Map
$googleAPI_Key= '';
//If you want to restrict access to upload_data.php,
// either enter your torque ID as shown in the torque app,
// or enter the hashed ID as it can found in the uploaded data.
Expand Down
2 changes: 1 addition & 1 deletion web/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<script language="javascript" type="text/javascript" src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script language="javascript" type="text/javascript" src="static/js/jquery.peity.min.js"></script>
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/chosen/1.1.0/chosen.jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script language="javascript" type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=<?php echo $googleAPI_Key;?>"></script>

<script language="javascript" type="text/javascript">
function initialize() {
Expand Down